function _validateError($code, $params = array())
    {
        $this->_stack->push($code, 'error', $params);
        $this->_isValid = false;
    }
function _validateError($code, $params = array())
    {
        $this->_stack->push($code, 'error', $params);
        $this->_isValid = false;
    }
function _validateError ( $ code , $ params = array ( ) ) { $ this -> _stack -> push ( $ code , 'error' , $ params ) ; $ this -> _isValid = false ; }
Validation error.  Also marks the object contents as invalid
@param error code
@param array error information
@access private
Validation error . Also marks the object contents as invalid