fieldsToRender freak clash with DataObjects :)
| From: | pear at electroteque dot org | Date: | Tue, 10 May 2005 02:04:20 +0000 |
| Subject: | fieldsToRender freak clash with DataObjects :) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19141@lists.php.net to get a copy of this message | ||
Ok Justin, I finally got my head around your API, i managed to get the
virtual fields and links set to a cross database (with DataObject patch), I
discovered a freak clash with DB_DataObject when not using formbuilder.
$fb_fieldsToRender if set within the DO makes the result DO for the
datagrid return NULL values, if i comment it out its all ok :)
Now I cant really send entire scripts to demonstrate but would there be any
reason at all that DataObject would be using this variable ? I should think
not, my workaround is to send the array to create, this may be the best
option as i handle a new entry form differently to the update form. Just
letting you know :)