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

Public Member Functions

 refresh_data ($trans_db, $month, $year, $day=False)
 
 card_no ()
 
 firstVisit ()
 
 lastVisit ()
 
 totalSpending ()
 
 totalSpendingRank ()
 
 averageSpending ()
 
 averageSpendingRank ()
 
 totalItems ()
 
 averageItems ()
 
 totalVisits ()
 
 totalVisitsRank ()
 
 spotlightStart ()
 
 spotlightEnd ()
 
 spotlightTotalSpending ()
 
 spotlightAverageSpending ()
 
 spotlightTotalItems ()
 
 spotlightAverageItems ()
 
 spotlightTotalVisits ()
 
 yearStart ()
 
 yearEnd ()
 
 yearTotalSpending ()
 
 yearTotalSpendingRank ()
 
 yearAverageSpending ()
 
 yearAverageSpendingRank ()
 
 yearTotalItems ()
 
 yearAverageItems ()
 
 yearTotalVisits ()
 
 yearTotalVisitsRank ()
 
 oldlightTotalSpending ()
 
 oldlightAverageSpending ()
 
 oldlightTotalItems ()
 
 oldlightAverageItems ()
 
 oldlightTotalVisits ()
 
 longlightTotalSpending ()
 
 longlightAverageSpending ()
 
 longlightTotalItems ()
 
 longlightAverageItems ()
 
 longlightTotalVisits ()
 
- 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 = "MemberSummary"
 
 $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 ()
 

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