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

Public Member Functions

 drawer_no ()
 
 emp_no ()
 
- 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 = "drawerowner"
 
 $preferred_db = 'op'
 
 $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

DrawerOwnerModel::$columns
protected
Initial value:
= array(
'drawer_no' => array('type'=>'SMALLINT', 'primary_key'=>true),
'emp_no' => array('type'=>'SMALLINT'),
)

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