|
| | reload ($trans_db, $start_month, $start_year, $end_month=False, $end_year=False) |
| |
| | refresh_data ($trans_db, $month, $year, $day=False) |
| |
|
| 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 () |
| |
| CoreWarehouseModel::refresh_data |
( |
|
$trans_db, |
|
|
|
$month, |
|
|
|
$year, |
|
|
|
$day = False |
|
) |
| |
Reload data for a specific month or day Subclasses should override
- Parameters
-
| $trans_db | Name of Fannie trans_archive database |
| $month | the month |
| $year | the year |
| $day | (optional) if omitted reload entire month |
| CoreWarehouseModel::reload |
( |
|
$trans_db, |
|
|
|
$start_month, |
|
|
|
$start_year, |
|
|
|
$end_month = False, |
|
|
|
$end_year = False |
|
) |
| |
Reload transaction data for the table
- Parameters
-
| $trans_db | Name of Fannie trans_archive database |
| $start_month | start reloading at this month |
| $start_year | see $start_month |
| $end_month | (optional) end reloading at this month defaults to current month |
| $end_year | (optional) see $end_month |
The documentation for this class was generated from the following file:
- fannie/modules/plugins2.0/CoreWarehouse/models/CoreWarehouseModel.php