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

Protected Attributes

 $name = "DeveloperRules"
 
 $columns
 
 $preferred_db = 'plugin:TargetedPromosDB'
 
- Protected Attributes inherited from BasicModel
 $normalize_lanes = false
 
 $currently_normalizing_lane = false
 

Additional Inherited Members

- Public Member Functions inherited from BasicModel
 __construct ($con)
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 getModels ()
 
 setConnectionByName ($db_name)
 
- 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

DeveloperRulesModel::$columns
protected
Initial value:
= array(
'developerRulesID' => array('type'=>'INT', 'increment'=>true, 'primary_key'=>true),
'examineMonths' => array('type'=>'TINYINT', 'default'=>2),
'minVisits' => array('type'=>'TINYINT', 'default'=>1),
'minVisitAvg' => array('type'=>'MONEY', 'default'=>20),
'minMonthAvg' => array('type'=>'MONEY', 'default'=>100),
'activeDays' => array('type'=>'TINYINT', 'default'=>60),
'couponUPC' => array('type'=>'VARCHAR(13)'),
'couponExpireDays' => array('type'=>'TINYINT', 'default'=>28),
'maxIssue' => array('type'=>'TINYINT', 'default'=>3),
'memberOnly' => array('type'=>'TINYINT', 'default'=>1),
'includeStaff' => array('type'=>'TINYINT', 'default'=>0),
)

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