Hi.. im getting a nasty error that i hope someone can give me some help on. below is a code snippet...
class NewLoginAgent {
/* private */
var $newLogin, $err;
/* public */
function &getNewLogin($familyID, $fName, $birthMonth, $birthDay) {
/* create return object */
$this->newLogin = new NewLogin($familyID, $fName, $birthMonth, $birthDay);
/* validate user input */
if (!$this->isValidInput()) {
return PEAR::raiseError($this->getErr()); }
/* return a pointer to $this->newLogin */
$newLogin_ = &$this->newLogin;
return $newLogin_;
}
}
there is more to my class and the functions that are called work fine... it is a syntax error i think somewhere above. anyway, i get the following error..
Fatal error: Call to undefined function: isvalidinput() in /var/ on line 45
isValidInput() is defined in my class i just did not include it in the snippet above.. something is weird here.. please help... the page dies on:
if (!$this->isValidInput()) {
class NewLoginAgent {
/* private */
var $newLogin, $err;
/* public */
function &getNewLogin($familyID, $fName, $birthMonth, $birthDay) {
/* create return object */
$this->newLogin = new NewLogin($familyID, $fName, $birthMonth, $birthDay);
/* validate user input */
if (!$this->isValidInput()) {
return PEAR::raiseError($this->getErr()); }
/* return a pointer to $this->newLogin */
$newLogin_ = &$this->newLogin;
return $newLogin_;
}
}
there is more to my class and the functions that are called work fine... it is a syntax error i think somewhere above. anyway, i get the following error..
Fatal error: Call to undefined function: isvalidinput() in /var/ on line 45
isValidInput() is defined in my class i just did not include it in the snippet above.. something is weird here.. please help... the page dies on:
if (!$this->isValidInput()) {