merk
11-19-2005, 02:13 AM
I have tried to define a new function inside the attachment datamanager
if(!function_exists('verify_fieldname'))
{
function verify_fieldname(&$data)
{
/*<do stuff>*/
}
}
$this->validfields['fieldname'] = array(TYPE_HERE, REQ_NO, VF_METHOD);
A fatal error occurs stating the method cannot be found.
Am i doing something wrong? this is how it is described in the vBulletin manual.
if(!function_exists('verify_fieldname'))
{
function verify_fieldname(&$data)
{
/*<do stuff>*/
}
}
$this->validfields['fieldname'] = array(TYPE_HERE, REQ_NO, VF_METHOD);
A fatal error occurs stating the method cannot be found.
Am i doing something wrong? this is how it is described in the vBulletin manual.