Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($field, $message) | |
getField () | |
getMessage () | |
Data Fields | |
$field | |
$message | |
Class to represent a form validation error.
Definition at line 16 of file FormError.inc.php.
FormError::__construct | ( | $field, | |
$message | |||
) |
Constructor.
$field | string the name of the field |
$message | string the error message (i18n key) |
Definition at line 29 of file FormError.inc.php.
FormError::getField | ( | ) |
Get the field associated with the error.
Definition at line 38 of file FormError.inc.php.
References $field.
FormError::getMessage | ( | ) |
Get the error message (i18n key).
Definition at line 46 of file FormError.inc.php.
References $message.
FormError::$field |
The name of the field
Definition at line 19 of file FormError.inc.php.
Referenced by __construct(), and getField().
FormError::$message |
The error message
Definition at line 22 of file FormError.inc.php.
Referenced by __construct(), and getMessage().