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

Public Member Functions

 reload ($trans_db, $start_month, $start_year, $end_month=False, $end_year=False)
 
 refresh_data ($trans_db, $month, $year, $day=False)
 
 warehouseDateID ()
 
 year ()
 
 month ()
 
 day ()
 
 fiscalYear ()
 
 isoWeekNumber ()
 
 calendarQuarter ()
 
 fiscalQuarter ()
 
 dayOfWeek ()
 
 holiday ()
 
 limitedHours ()
 
 expandedHours ()
 
 weather ()
 
- Public Member Functions inherited from CoreWarehouseModel
 reload ($trans_db, $start_month, $start_year, $end_month=False, $end_year=False)
 
 refresh_data ($trans_db, $month, $year, $day=False)
 
- Public Member Functions inherited from BasicModel
 db ()
 
 preferredDB ()
 
 setConfig ($c)
 
 __construct ($con)
 
 whichDB ($db_name)
 
 getDefinition ()
 
 create ()
 
 createIfNeeded ($db_name)
 
 load ()
 
 reset ()
 
 getColumns ()
 
 getName ()
 
 getFullQualifiedName ()
 
 find ($sort='', $reverse=false)
 
 delete ()
 
 save ()
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 doc ()
 
 generate ($filename)
 
 newModel ($name, $as_view=false)
 
 getModels ()
 
 toJSON ()
 

Protected Attributes

 $name = "WarehouseDates"
 
 $columns
 

Additional Inherited Members

- Public Attributes inherited from BasicModel
const NORMALIZE_MODE_CHECK = 1
 
const NORMALIZE_MODE_APPLY = 2
 
- Protected Member Functions inherited from BasicModel
 getMeta ($type, $dbms)
 
 validateOp ($operator)
 
 insertRecord ()
 
 updateRecord ()
 
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 loadHooks ()
 

Member Data Documentation

WarehouseDatesModel::$columns
protected
Initial value:
= array(
'warehouseDateID' => array('type'=>'INT', 'primary_key'=>true),
'year' => array('type'=>'SMALLINT'),
'month' => array('type'=>'TINYINT'),
'day' => array('type'=>'TINYINT'),
'fiscalYear' => array('type'=>'SMALLINT'),
'isoWeekNumber' => array('type'=>'TINYINT'),
'calendarQuarter' => array('type'=>'TINYINT'),
'fiscalQuarter' => array('type'=>'TINYINT'),
'dayOfWeek' => array('type'=>'TINYINT'),
'holiday' => array('type'=>'TINYINT', 'default'=>0),
'limitedHours' => array('type'=>'TINYINT', 'default'=>0),
'expandedHours' => array('type'=>'TINYINT', 'default'=>0),
'weather' => array('type'=>'VARCHAR(255)'),
)

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