note 89396 deleted from function.json-encode by danbrown

From: Date: Thu, 05 Mar 2009 22:30:50 +0000
Subject: note 89396 deleted from function.json-encode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151539@lists.php.net to get a copy of this message
Note Submitter: Passy ---- if you just add this function in your class, everything goes better... public function toArray() { return get_object_vars($this); } I hope this will help :-)

« previous php.notes (#151539) next »