CORE POS - IS4C
The CORE POS front end
Public Member Functions | Protected Attributes | List of all members
ProductsModel Class Reference
Inheritance diagram for ProductsModel:
BasicModel

Public Member Functions

 upc ()
 
 description ()
 
 brand ()
 
 formatted_name ()
 
 normal_price ()
 
 pricemethod ()
 
 groupprice ()
 
 quantity ()
 
 special_price ()
 
 specialpricemethod ()
 
 specialgroupprice ()
 
 specialquantity ()
 
 start_date ()
 
 end_date ()
 
 department ()
 
 size ()
 
 tax ()
 
 foodstamp ()
 
 scale ()
 
 scaleprice ()
 
 mixmatchcode ()
 
 modified ()
 
 advertised ()
 
 tareweight ()
 
 discount ()
 
 discounttype ()
 
 line_item_discountable ()
 
 unitofmeasure ()
 
 wicable ()
 
 qttyEnforced ()
 
 idEnforced ()
 
 cost ()
 
 inUse ()
 
 numflag ()
 
 subdept ()
 
 deposit ()
 
 local ()
 
 store_id ()
 
 default_vendor_id ()
 
 current_origin_id ()
 
 id ()
 
- Public Member Functions inherited from BasicModel
 db ()
 
 preferredDB ()
 
 __construct ($con)
 
 create ()
 
 createIfNeeded ($db_name)
 
 load ()
 
 reset ()
 
 getColumns ()
 
 getName ()
 
 find ($sort='', $reverse=false)
 
 delete ()
 
 save ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 generate ($filename)
 
 newModel ($name)
 
 getModels ()
 

Protected Attributes

 $name = 'products'
 
 $preferred_db = 'op'
 
 $columns
 
 $unique = array('upc')
 
- Protected Attributes inherited from BasicModel
 $name
 
 $columns = array()
 
 $unique = array()
 
 $meta_types
 
 $connection = false
 
 $instance = array()
 
 $preferred_db = ''
 

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)
 
 insertRecord ()
 
 updateRecord ()
 

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