Form_Result_Model Class Reference
Stores the result of a form validation.
More...
Public Member Functions |
| set_value ($key, $value) |
| Sets the value of a key in the form results.
|
| get_value ($key) |
| Gets the value given a key in the form results.
|
| has_value ($key) |
| Return whether the given key has been set in the results.
|
| to_array () |
| Returns the current state of the form results as an associative array.
|
Detailed Description
Stores the result of a form validation.
Member Function Documentation
Form_Result_Model::get_value |
( |
$ |
key |
) |
|
Gets the value given a key in the form results.
- Parameters:
-
- Returns:
- mixed
Form_Result_Model::has_value |
( |
$ |
key |
) |
|
Return whether the given key has been set in the results.
- Parameters:
-
- Returns:
- bool
Form_Result_Model::set_value |
( |
$ |
key, |
|
|
$ |
value | |
|
) |
| | |
Sets the value of a key in the form results.
- Parameters:
-
Form_Result_Model::to_array |
( |
|
) |
|
Returns the current state of the form results as an associative array.
- Returns:
- array
The documentation for this class was generated from the following file: