Links inside DataObject
| From: | Rodrigo Alvarez | Date: | Tue, 28 Jun 2005 13:42:46 +0000 |
| Subject: | Links inside DataObject | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19799@lists.php.net to get a copy of this message | ||
Hi PEARs,
is there any way of specifying dataobject links from within the dataobject itself? This should be like Frombuilder style:
lass Main_DataObjects_Content_type_center extends DB_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
var $__table = 'content_type_center';
var $id;
var $state_id;
[...]
var $fb_textFields = array('text'); // FB style
}
i want something like that $fb_textFields to specify DO links, instead of .ini file, since its use is not possible atm:
[center]
stete_id = state:id
Thanks,
Rodrigo.