protected function getResult()
    {
        $result = empty($this->errors) ? true : $this->errors;
        $this->errors = array();
        return $result;
    }
protected function getResult()
    {
        $result = empty($this->errors) ? true : $this->errors;
        $this->errors = array();
        return $result;
    }
protected function getResult ( ) { $ result = empty ( $ this -> errors ) ? true : $ this -> errors ; $ this -> errors = array ( ) ; return $ result ; }
Returns validation results
@return array|boolean
Returns validation results