Utility class to convert and format values of different data types. More...
Static Public Member Functions | |
static | in ($raw_value, $db_type='') |
Convert the input value to a value that the database field will accept. | |
static | out ($raw_value, $db_type='') |
Convert the db value to a value that a human understands. |
Additional Inherited Members | |
![]() | |
__call ($function, $params) | |
The 'magic' call method will get/set for us invoked when the interpreter can not find a method the user is asking for. | |
set_parameters ($arguments) | |
Set variables from an array to member fields requires $this->optional_arguments or $this->required_arguments to have been set by the subclass. | |
![]() | |
$optional_arguments = array() | |
Array of options that can be set to variables. | |
$required_arguments = array() | |
Array of options that need to be set to variables. |
Utility class to convert and format values of different data types.