Re: notice on virtualField
| From: | Justin Patrin | Date: | Mon, 02 Jul 2007 18:47:00 +0000 |
| Subject: | Re: notice on virtualField | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27611@lists.php.net to get a copy of this message | ||
On 7/2/07, Marco Sottana <marco.sottana@q-web.it> wrote:
in this code [code] .... ###END_AUTOCODE$do->virtualField is not set. It needs to be if you want to use it as a virtual field. -- Justin Patrinfunction table() {$arr=array_merge(parent::table(), array('virtualField' => DB_DATAOBJECT_STR));return $arr; }.... [/code] show me this error [code] Notice2007-07-02 10:59:31 (CEST) 8 Notice Undefined property: virtualField /usr/share/php/DB/DataObject/FormBuilder.php 1307[/code] please help me to correct it