Re: notice on virtualField

From: 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
    function table() {
$arr=array_merge(parent::table(), array('virtualField' => DB_DATAOBJECT_STR));
        return $arr;
    }
.... [/code] show me this error [code] Notice
        2007-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
$do->virtualField is not set. It needs to be if you want to use it as a virtual field. -- Justin Patrin

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