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

Public Member Functions

 refresh_data ($trans_db, $month, $year, $day=False)
 
 date_id ()
 
 upc ()
 
 total ()
 
 quantity ()
 
- 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 = 'sumUpcSalesByDay'
 
 $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

SumUpcSalesByDayModel::$columns
protected
Initial value:
= array(
'date_id' => array('type'=>'INT','primary_key'=>True,'default'=>0),
'upc' => array('type'=>'VARCHAR(13)','primary_key'=>True,'default'=>''),
'total' => array('type'=>'MONEY','default'=>0.00),
'quantity' => array('type'=>'DOUBLE','default'=>0.00)
)

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