Re: notice on virtualField
| From: | Justin Patrin | Date: | Tue, 03 Jul 2007 04:45:09 +0000 |
| Subject: | Re: notice on virtualField | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27616@lists.php.net to get a copy of this message | ||
On 7/2/07, Brett Bieber <brett.bieber@gmail.com> wrote:
On 7/2/07, marco s <marco.sottana@q-web.it> wrote:The field is virtual in the sense that it is not in the DB directly but you still need to set the property on the DO. See the example.$do->virtualField is not set. It needs to be if you want to use it as a virtual field.where i must set ? can you send me please a working example .. Have you seen the documentation? http://pear.reversefold.com/dokuwiki/doku.php?id=pear:db_dataobject_formbuilder:beyond_advanced#virtual_fields virtualField is intended to be renamed a more friendly name relevant to the field you want to create... see the firstName lastName example on that page.
thanks a lot .. -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- -Brett Bieber http:saltybeagle.com aim:ianswerq -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Justin Patrin