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

Public Member Functions

 definition ()
 
 description ()
 
 comment ()
 
 total ()
 
 status ()
 
 lineColor ()
 
 discounttype ()
 
 trans_type ()
 
 trans_status ()
 
 voided ()
 
 trans_id ()
 
- Public Member Functions inherited from ViewModel
 definition ()
 
 create ()
 
 delete ()
 
 save ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=false)
 
- 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 = "screendisplay"
 
 $preferred_db = 'trans'
 
 $columns
 
- Protected Attributes inherited from ViewModel
 $name = '__VirtualClass_ShouldNotExist'
 
- 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

ScreenDisplayModel::$columns
protected
Initial value:
= array(
'description' => array('type'=>'VARCHAR(255)'),
'comment' => array('type'=>'VARCHAR(255)'),
'total' => array('type'=>'MONEY'),
'status' => array('type'=>'VARCHAR(255)'),
'lineColor' => array('type'=>'VARCHAR(255)'),
'discounttype' => array('type'=>'INT'),
'trans_type' => array('type'=>'VARCHAR(2)'),
'trans_status' => array('type'=>'VARCHAR(2)'),
'voided' => array('type'=>'INT'),
'trans_id' => array('type'=>'INT'),
)

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