public function validateEntity($person)
    {
        $this->_validateField($person, 'email');
        $this->_validateField($person, 'username');
        $this->_validateField($person, 'password');

        return parent::validateEntity($person);
    }
public function validateEntity($person)
    {
        $this->_validateField($person, 'email');
        $this->_validateField($person, 'username');
        $this->_validateField($person, 'password');

        return parent::validateEntity($person);
    }
public function validateEntity ( $ person ) { $ this -> _validateField ( $ person , 'email' ) ; $ this -> _validateField ( $ person , 'username' ) ; $ this -> _validateField ( $ person , 'password' ) ; return parent :: validateEntity ( $ person ) ; }
Validates a person object.

@param ComPeopleDomainEntityPerson $person

@return bool
Validates a person object .