CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
doc () | |
normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=false) | |
logUpdate ($type='UNKNOWN', $user=false) | |
logManyUpdates ($upcs, $type='UNKNOWN', $user=false) | |
prodUpdateID () | |
updateType () | |
upc () | |
description () | |
price () | |
salePrice () | |
cost () | |
dept () | |
tax () | |
fs () | |
scale () | |
likeCode () | |
modified () | |
user () | |
forceQty () | |
noDisc () | |
inUse () | |
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 () | |
Public Attributes | |
const | UPDATE_EDIT = 'EDIT' |
const | UPDATE_DELETE = 'DELETE' |
const | UPDATE_BATCH = 'SALE BATCH' |
const | UPDATE_PC_BATCH = 'PRICE BATCH' |
Public Attributes inherited from BasicModel | |
const | NORMALIZE_MODE_CHECK = 1 |
const | NORMALIZE_MODE_APPLY = 2 |
Protected Attributes | |
$name = 'prodUpdate' | |
$preferred_db = 'op' | |
$columns | |
Protected Attributes inherited from BasicModel | |
$name | |
$fq_name | |
$columns = array() | |
$unique = array() | |
$meta_types | |
$connection = false | |
$record_changed = false | |
$instance = array() | |
$filters = array() | |
$normalize_lanes = false | |
$currently_normalizing_lane = false | |
$cached_definition = false | |
$config | |
$preferred_db = '' | |
$hooks = array() | |
Additional Inherited Members | |
Protected Member Functions inherited from BasicModel | |
getMeta ($type, $dbms) | |
validateOp ($operator) | |
insertRecord () | |
updateRecord () | |
normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False) | |
loadHooks () | |
ProdUpdateModel::logManyUpdates | ( | $upcs, | |
$type = 'UNKNOWN' , |
|||
$user = false |
|||
) |
Log updates to many products at once
$upcs | [array] of UPCs |
$type | [string] update type |
$user | [string] username |
|
protected |