FormError Class Reference
[Form]

Class to represent a form validation error. More...

List of all members.

Public Member Functions

 FormError ($field, $message)
 getField ()
 getMessage ()

Public Attributes

 $field
 $message


Detailed Description

Class to represent a form validation error.

Definition at line 22 of file FormError.inc.php.


Member Function Documentation

FormError.FormError ( field,
message 
)

Constructor.

Parameters:
$field string the name of the field
$message string the error message (i18n key)

Definition at line 35 of file FormError.inc.php.

References $field, and $message.

FormError.getField (  ) 

Get the field associated with the error.

Returns:
string

Definition at line 44 of file FormError.inc.php.

FormError.getMessage (  ) 

Get the error message (i18n key).

Returns:
string

Definition at line 52 of file FormError.inc.php.


Member Data Documentation

FormError.$field

The name of the field

Definition at line 25 of file FormError.inc.php.

Referenced by FormError().

FormError.$message

The error message

Definition at line 28 of file FormError.inc.php.

Referenced by FormError().


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:42 2008 for Open Journal Systems by  doxygen 1.5.6