RE: [PEAR] DataObject::toArray

From: Date: Wed, 28 May 2003 09:59:25 +0000
Subject: RE: [PEAR] DataObject::toArray
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5655@lists.php.net to get a copy of this message
Ok, this behaviour being normal i will work with it ;) Thanks Alan. Arnaud. > toArray currenly will only return the objects table names, to > make this > work, it would have to flag up that there are variables that where > returned that where outside the table definition. > > would involve: > adding a flag to fetch - if it finds a var not in the table set.. - > $this->_hasExtraVars = true; > > then in the toArray, if that flag is set, use the object vars, rather > than the table def. to generate the toArray set. > > Regards > Alan

« previous php.pear.general (#5655) next »