For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > RE: [PEAR] RV: [Bulk] Re: [PEAR] Question about Structures_DataGrid and getLinks() in









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 and getLinks() in
Jose Manuel Zea

2006-05-29, 7:02 pm

>You could try passing the "formbuilder_integration" option to bind(). =
That=20
>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,=20
>joinAdd() also use the links.ini file, and is quite automatic too.


The only thing is that I=B4m defining class to get the list, and I=B4m =
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=B4t I? Maybe I=B4m a =
little
bit about JoinAdd, I just know what I saw in
http://pear.php.net/manual/en/packa...t.db-dataobjec=
t.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
Sponsored Links







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

Copyright 2008 codecomments.com