Re: Restrict rows returned for auto Select creation with DB_DataObject_FormBuilder for linked field
| From: | Brett Bieber | Date: | Fri, 23 Feb 2007 14:09:19 +0000 |
| Subject: | Re: Restrict rows returned for auto Select creation with DB_DataObject_FormBuilder for linked field | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26663@lists.php.net to get a copy of this message | ||
On 2/23/07, Jonathan Smit <jonathan@lazyant.co.za> wrote:
Greetings,See the documentation on prepareLinkedDataObject... this should cover the functionality you're looking for. You simply add in a callback method into your dataobject, which will be called before the linked data is fetched, allowing you to prepare it in any way you like. http://pear.reversefold.com/dokuwiki/doku.php?id=pear:db_dataobject_formbuilder:callback_methods#preparelinkeddataobject_linkeddataobject_field Good luck! -- -Brett Bieber http:saltybeagle.com aim:ianswerqHow do I restrict the rows returned during automatic Select Box creation by DB_DataObject_FormBuilder for a linked field?Question