Re: Question about Structures_DataGrid and getLinks() in DB_DataObject

From: Date: Mon, 29 May 2006 13:28:38 +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-24185@lists.php.net to get a copy of this message
Hi Jose, Jose Manuel Zea wrote:
I would like to know how to refer to a field automatically created in the DB_DataObject using the function getLinks(), in the
$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
Why don't you use DB_DataObject::joinAdd() instead of getLinks() ? -- og

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