For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > Re: [PEAR] RV: [Bulk] Re: [PEAR] Question about Structures_DataGrid









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 Re: [PEAR] RV: [Bulk] Re: [PEAR] Question about Structures_DataGrid
Olivier Guilyardi

2006-05-29, 7:02 pm

Jose Manuel Zea wrote:
>
>
> Because using getLinks it is automatic, and only one DB_Dataobject is
> needed.
>
> Is the joinAdd the only way?


You could try passing the "formbuilder_integration" option to bind(). That
should automatically call getLink() for each row.

This requires DB_DataObject_FormBuilder to be installed.

Note that it will issue many queries where joinAdd() only make one. Btw,
joinAdd() also use the links.ini file, and is quite automatic too.

--
og
Sponsored Links







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

Copyright 2008 codecomments.com