src/XML/Atom/Validator.php
public function getFirstError()
	{
		if( !$this->errors )
			return "";
		$error	= array_pop( array_slice( $this->errors, 0, 1 ) );
		return $this->rules[$error];
	}
public function getFirstError()
	{
		if( !$this->errors )
			return "";
		$error	= array_pop( array_slice( $this->errors, 0, 1 ) );
		return $this->rules[$error];
	}
public function getFirstError ( ) { if ( ! $ this -> errors ) return "" ; $ error = array_pop ( array_slice ( $ this -> errors , 0 , 1 ) ) ; return $ this -> rules [ $ error ] ; }
Returns first Error Message from Validation.
@access		public
@return		string
Returns first Error Message from Validation .