/** * Magic Get * * @param string $property * @return mixed * @throws Zend_Validate_Exception */ public function __get($property) { if (empty($this->_errors)) { return $this->validator->__get($property); } else { return parent::__get($property); } }