|
|
| __construct ($con) |
| |
| | normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=false) |
| |
| | create () |
| |
| | initPartitions ($year, $month) |
| |
| | addPartition ($year, $month) |
| |
|
| datetime () |
| |
|
| store_id () |
| |
|
| register_no () |
| |
|
| emp_no () |
| |
|
| trans_no () |
| |
|
| upc () |
| |
|
| description () |
| |
|
| trans_type () |
| |
|
| trans_subtype () |
| |
|
| trans_status () |
| |
|
| department () |
| |
|
| quantity () |
| |
|
| scale () |
| |
|
| cost () |
| |
|
| unitPrice () |
| |
|
| total () |
| |
|
| regPrice () |
| |
|
| tax () |
| |
|
| foodstamp () |
| |
|
| discount () |
| |
|
| memDiscount () |
| |
|
| discountable () |
| |
|
| discounttype () |
| |
|
| voided () |
| |
|
| percentDiscount () |
| |
|
| ItemQtty () |
| |
|
| volDiscType () |
| |
|
| volume () |
| |
|
| VolSpecial () |
| |
|
| mixMatch () |
| |
|
| matched () |
| |
|
| memType () |
| |
|
| staff () |
| |
|
| numflag () |
| |
|
| charflag () |
| |
|
| card_no () |
| |
|
| trans_id () |
| |
|
| pos_row_id () |
| |
|
| store_row_id () |
| |
| | normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=false) |
| |
|
| dlogMode ($switch) |
| |
| | normalizeLog ($view_name, $table_name, $mode=BasicModel::NORMALIZE_MODE_CHECK) |
| |
|
| doc () |
| |
|
| datetime () |
| |
|
| store_id () |
| |
|
| register_no () |
| |
|
| emp_no () |
| |
|
| trans_no () |
| |
|
| upc () |
| |
|
| description () |
| |
|
| trans_type () |
| |
|
| trans_subtype () |
| |
|
| trans_status () |
| |
|
| department () |
| |
|
| quantity () |
| |
|
| scale () |
| |
|
| cost () |
| |
|
| unitPrice () |
| |
|
| total () |
| |
|
| regPrice () |
| |
|
| tax () |
| |
|
| foodstamp () |
| |
|
| discount () |
| |
|
| memDiscount () |
| |
|
| discountable () |
| |
|
| discounttype () |
| |
|
| voided () |
| |
|
| percentDiscount () |
| |
|
| ItemQtty () |
| |
|
| volDiscType () |
| |
|
| volume () |
| |
|
| VolSpecial () |
| |
|
| mixMatch () |
| |
|
| matched () |
| |
|
| memType () |
| |
|
| staff () |
| |
|
| numflag () |
| |
|
| charflag () |
| |
|
| card_no () |
| |
|
| trans_id () |
| |
|
| pos_row_id () |
| |
|
| store_row_id () |
| |
|
| 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 () |
| |
|
|
static | selectDlog ($start, $end=false, $where=false) |
| |
|
static | select_dlog ($start, $end=false, $where=false) |
| |
|
static | selectDtrans ($start, $end=false, $where=false) |
| |
|
static | select_dtrans ($start, $end=false, $where=false) |
| |
|
static | aggregateDlog (SQLManager $connection, $start_date, $end_date, stdclass $where, $groupby=array()) |
| |
|
static | aggregateDtrans (SQLManager $connection, $start_date, $end_date, stdclass $where, $groupby=array()) |
| |
| static | aggregateStruct (SQLManager $connection, $dlog, $start_date, $end_date, stdclass $where, $groupby=array()) |
| |
| const | NORMALIZE_MODE_CHECK = 1 |
| |
| const | NORMALIZE_MODE_APPLY = 2 |
| |
| | getMeta ($type, $dbms) |
| |
| | validateOp ($operator) |
| |
| | insertRecord () |
| |
| | updateRecord () |
| |
|
| normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False) |
| |
| | loadHooks () |
| |
| BigArchiveModel::addPartition |
( |
|
$year, |
|
|
|
$month |
|
) |
| |
Add a partition to the table
- Parameters
-
| $year | [int] year |
| $month | [int] month |
- Returns
- [boolean] success
| BigArchiveModel::create |
( |
) | |
|
| BigArchiveModel::initPartitions |
( |
|
$year, |
|
|
|
$month |
|
) |
| |
Initialize monthly paritioning for the table
- Parameters
-
| $year | [int] year |
| $month | [int] month |
- Returns
- [boolean] success
The documentation for this class was generated from the following file:
- fannie/classlib2.0/data/models/arch/BigArchiveModel.php