Re: Question about Structures_DataGrid and getLinks() in DB_DataObject
| From: | Justin Patrin | Date: | Mon, 29 May 2006 17:52:42 +0000 |
| Subject: | Re: Question about Structures_DataGrid and getLinks() in DB_DataObject | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24189@lists.php.net to get a copy of this message | ||
On 5/29/06, Jose Manuel Zea <jmzeag@yahoo.es> wrote:
Hi all: I would like to know how to refer to a field automatically created in the DB_DataObject using the function getLinks(), in the1) Don't use getLinks(), it's wasteful. Always use getLink() to get the link you specifically want. 2) This is already implemented if you turn on formbuilder_integration in the options.$datagridOptions["fields"] and $datagridOptions["labels"]for $datagrid->bind($this->do, $datagridOptions);
For example, for a cities table, if we have the field automatically created: _codcountry.name Does anyone know how to do it? Regards, Jose Manuel Zea-- Justin Patrin