Phang  2.1
 All Classes Files Functions Variables Pages
Static Public Member Functions
Db_Convert Class Reference

Utility class to convert and format values of different data types. More...

Inheritance diagram for Db_Convert:
Base

List of all members.

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

- Public Member Functions inherited from Base
 __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.
- Protected Attributes inherited from Base
 $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.

Detailed Description

Utility class to convert and format values of different data types.


The documentation for this class was generated from the following file: