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

Public Member Functions

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

Protected Member Functions

 hookAddColumnCustdataType ()
 
 hookAddColumnDiscount ()
 
 hookAddColumnStaff ()
 
 hookAddColumnSsi ()
 
- Protected Member Functions inherited from BasicModel
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
 
 loadHooks ()
 
 afterNormalize ($db_name, $mode)
 

Protected Attributes

 $name = "memtype"
 
 $preferred_db = 'op'
 
 $columns
 
- 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
 

Member Data Documentation

MemtypeModel::$columns
protected
Initial value:
= array(
'memtype' => array('type'=>'TINYINT','primary_key'=>true,'default'=>0),
'memDesc' => array('type'=>'VARCHAR(20)'),
'custdataType' => array('type'=>'VARCHAR(10)'),
'discount' => array('type'=>'SMALLINT'),
'staff' => array('type'=>'TINYINT'),
'ssi' => array('type'=>'TINYINT'),
'salesCode' => array('type'=>'INT'),
)

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