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

Public Member Functions

 emp_no ()
 
 trans_no ()
 
 quantity ()
 
 trans_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 = "couponApplied"
 
 $preferred_db = 'trans'
 
 $columns
 
- 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 ()
 

Member Data Documentation

CouponAppliedModel::$columns
protected
Initial value:
= array(
'emp_no' => array('type'=>'INT', 'primary_key'=>true),
'trans_no' => array('type'=>'INT', 'primary_key'=>true),
'quantity' => array('type'=>'FLOAT'),
'trans_id' => array('type'=>'INT', 'primary_key'=>true),
)

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