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

Public Member Functions

 definition ()
 
 id ()
 
 description ()
 
 taxTotal ()
 
 fsTaxable ()
 
 fsTaxTotal ()
 
 foodstampTender ()
 
 taxrate ()
 
- 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 = "taxView"
 
 $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

TaxViewModel::$columns
protected
Initial value:
= array(
'id' => array('type'=>'INT'),
'description' => array('type'=>'VARCHAR(255)'),
'taxTotal' => array('type'=>'MONEY'),
'fsTaxable' => array('type'=>'MONEY'),
'fsTaxTotal' => array('type'=>'MONEY'),
'foodstampTender' => array('type'=>'MONEY'),
'taxrate' => array('type'=>'FLOAT'),
)

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