For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > fieldsToRender freak clash with DataObjects :)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author fieldsToRender freak clash with DataObjects :)
pear@electroteque.org

2005-05-10, 3:58 am

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 :)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com