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

Public Member Functions

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

Protected Attributes

 $name = "houseCoupons"
 
 $preferred_db = 'op'
 
 $normalize_lanes = true
 
 $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 Data Documentation

HouseCouponsModel::$columns
protected
Initial value:
= array(
'coupID' => array('type'=>'INT', 'primary_key'=>true),
'description' => array('type'=>'VARCHAR(30)'),
'startDate' => array('type'=>'DATETIME'),
'endDate' => array('type'=>'DATETIME'),
'limit' => array('type'=>'SMALLINT'),
'memberOnly' => array('type'=>'SMALLINT'),
'discountType' => array('type'=>'VARCHAR(2)'),
'discountValue' => array('type'=>'MONEY'),
'minType' => array('type'=>'VARCHAR(2)'),
'minValue' => array('type'=>'MONEY'),
'department' => array('type'=>'INT'),
'auto' => array('type'=>'TINYINT', 'default'=>0),
)

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