Claro_Input Interface Reference
Detailed Description
Defines the required methods for a data input object
Definition at line 30 of file input.lib.php.
Member Function Documentation
| get |
( |
$ |
name, |
|
|
$ |
default = null | |
|
) |
| | |
Get a value given its name
- Parameters:
-
| string | $name variable name |
| mixed | $default default value (if $name is missingin the input) |
- Returns:
- mixed value of $name in input data or $default value
- Exceptions:
-
Implemented in Claro_Input_Array, and Claro_Input_Validator.
Get a value given its name, the value must be set in the data but can be empty
- Parameters:
-
| string | $name variable name |
- Returns:
- mixed value of $name
- Exceptions:
-
Implemented in Claro_Input_Array, and Claro_Input_Validator.
The documentation for this interface was generated from the following file: