problem with response and entity |
yeepee !!!!
Code: [ so basically, i wrote a toArray() method PHP Code: public function toArray(){ and VOILA ! so i will wrote MY_Entity with many converters json, xml, yaml maybe .... and my own MY_Model who will call my converters after find. and maybe something like that. And I saw that call inside a model $this->created_at is not the same as $this->__get('created_at'). Is that the normal behavior ? |
Messages In This Thread |
problem with response and entity - by keulu - 02-27-2019, 12:01 PM
RE: problem with response and entity - by ciadmin - 02-27-2019, 12:21 PM
RE: problem with response and entity - by keulu - 02-27-2019, 01:24 PM
RE: problem with response and entity - by ciadmin - 02-27-2019, 01:33 PM
RE: problem with response and entity - by keulu - 02-27-2019, 01:39 PM
RE: problem with response and entity - by keulu - 02-27-2019, 01:40 PM
RE: problem with response and entity - by keulu - 02-28-2019, 11:04 AM
RE: problem with response and entity - by keulu - 02-28-2019, 11:21 AM
|