Class Xyster_Validate_Error

Description

A simple DTO for errors

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • license: New BSD License

Located in /Validate/Error.php (line 24)


	
			
Variable Summary
string $_field
string $_message
Method Summary
Xyster_Validate_Error __construct (string $message, [string $field = null], int $code)
void getField ()
string getMessage ()
string __toString ()
Variables
string $_field (line 34)
  • access: protected
string $_message (line 29)
  • access: protected
Methods
Constructor __construct (line 43)

Creates a new error

  • access: public
Xyster_Validate_Error __construct (string $message, [string $field = null], int $code)
  • string $message
  • string $field
  • int $code
getField (line 63)

Gets the field of the error, usually a field or property name

  • access: public
void getField ()
getMessage (line 54)

Gets the message associated with the error

  • access: public
string getMessage ()
__toString (line 73)

Returns the string value of the object

  • access: public
string __toString ()

Documentation generated on Mon, 19 May 2008 17:07:09 -0400 by phpDocumentor 1.4.2