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

Public Member Functions

 doc ()
 
- Public Member Functions inherited from BasicModel
 __construct ($con)
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 getModels ()
 
 setConnectionByName ($db_name)
 

Protected Attributes

 $name = "batchList"
 
 $preferred_db = 'op'
 
 $columns
 
 $unique = array('batchID','upc')
 
- Protected Attributes inherited from BasicModel
 $normalize_lanes = false
 
 $currently_normalizing_lane = false
 

Additional Inherited Members

- Public Attributes inherited from BasicModel
const NORMALIZE_MODE_CHECK = 1
 
const NORMALIZE_MODE_APPLY = 2
 
- Protected Member Functions inherited from BasicModel
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
 
 loadHooks ()
 
 afterNormalize ($db_name, $mode)
 

Member Data Documentation

BatchListModel::$columns
protected
Initial value:
= array(
'listID' => array('type'=>'INT', 'primary_key'=>True, 'increment'=>True),
'upc' => array('type'=>'VARCHAR(13)','index'=>True),
'batchID' => array('type'=>'INT','index'=>True),
'salePrice' => array('type'=>'MONEY'),
'groupSalePrice' => array('type'=>'MONEY'),
'active' => array('type'=>'TINYINT'),
'pricemethod' => array('type'=>'SMALLINT','default'=>0),
'quantity' => array('type'=>'SMALLINT','default'=>0),
'signMultiplier' => array('type'=>'TINYINT', 'default'=>1),
)

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