RE: [PEAR] RV: [Bulk] Re: [PEAR] Question about Structures_DataGrid and getLinks() in DB_DataObject
| From: | Jose Manuel Zea | Date: | Mon, 29 May 2006 16:32:45 +0000 |
| Subject: | RE: [PEAR] 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-24188@lists.php.net to get a copy of this message | ||
>You could try passing the "formbuilder_integration" option to bind(). That
>should automatically call getLink() for each row.
Yes, that works!. I just need refer to the field using the foreign key field
name.
>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.
The only thing is that I´m defining class to get the list, and I´m trying to
do it as much versatile as I can, so the only thing and includes a
DataObject, to make use of JoinAdd it depends on the table, because I need
to define a DataObject for each relationship, don´t I? Maybe I´m a little
bit confused about JoinAdd, I just know what I saw in
http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.j
oinadd.php
Anyway, by now getLinks works, thank you very much Olivier!
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com