public function validate()
    {
        if (!$this->getValidator()->validate($this, $this->_action)) {
            $this->_errors = $this->getValidator()->getErrors();
            return false;
        }
        return true;
    }
public function validate()
    {
        if (!$this->getValidator()->validate($this, $this->_action)) {
            $this->_errors = $this->getValidator()->getErrors();
            return false;
        }
        return true;
    }
public function validate ( ) { if ( ! $ this -> getValidator ( ) -> validate ( $ this , $ this -> _action ) ) { $ this -> _errors = $ this -> getValidator ( ) -> getErrors ( ) ; return false ; } return true ; }
Validate current data
@return bool
Validate current data