Re: RV: [Bulk] Re: [PEAR] Question about Structures_DataGrid and getLinks() in DB_DataObject

From: Date: Mon, 29 May 2006 15:37:39 +0000
Subject: Re: RV: [Bulk] Re: [PEAR] Question about Structures_DataGrid and getLinks() in DB_DataObject
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24187@lists.php.net to get a copy of this message
Jose Manuel Zea wrote:
Why don't you use DB_DataObject::joinAdd() instead of getLinks() ?
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

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