CORE POS - Fannie
The CORE POS back end
Public Member Functions | Protected Attributes | List of all members
ParametersModel Class Reference
Inheritance diagram for ParametersModel:
BasicModel

Public Member Functions

 materializeValue ()
 
 doc ()
 
- Public Member Functions inherited from BasicModel
 __construct ($con)
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 getModels ()
 
 setConnectionByName ($db_name)
 

Protected Attributes

 $name = "parameters"
 
 $preferred_db = 'op'
 
 $columns
 
- Protected Attributes inherited from BasicModel
 $normalize_lanes = false
 
 $currently_normalizing_lane = false
 

Additional Inherited Members

- Public Attributes inherited from BasicModel
const NORMALIZE_MODE_CHECK = 1
 
const NORMALIZE_MODE_APPLY = 2
 
- Protected Member Functions inherited from BasicModel
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
 
 loadHooks ()
 
 afterNormalize ($db_name, $mode)
 

Member Function Documentation

ParametersModel::materializeValue ( )

Get the parameter's effective value by transforming it into an array or boolean if appropriate

Returns
[mixed] param_value as correct PHP type

Member Data Documentation

ParametersModel::$columns
protected
Initial value:
= array(
'store_id' => array('type'=>'SMALLINT', 'primary_key'=>true),
'lane_id' => array('type'=>'SMALLINT', 'primary_key'=>true),
'param_key' => array('type'=>'VARCHAR(100)', 'primary_key'=>true),
'param_value' => array('type'=>'VARCHAR(255)'),
'is_array' => array('type'=>'TINYINT'),
)

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