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:
$key string
Returns:
mixed
Form_Result_Model::has_value ( key  ) 

Return whether the given key has been set in the results.

Parameters:
$key string
Returns:
bool
Form_Result_Model::set_value ( key,
value 
)

Sets the value of a key in the form results.

Parameters:
$key string
$value mixed
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:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1