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

Public Member Functions

 definition ()
 
 doc ()
 
 tranType ()
 
 amount ()
 
 PAN ()
 
 entryMethod ()
 
 issuer ()
 
 name ()
 
 xResultMessage ()
 
 xApprovalNumber ()
 
 xTransactionID ()
 
 date ()
 
 cashierNo ()
 
 laneNo ()
 
 transNo ()
 
 transID ()
 
 datetime ()
 
 sortorder ()
 
- 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 ()
 
 setConfig ($c)
 
 __construct ($con)
 
 whichDB ($db_name)
 
 getDefinition ()
 
 create ()
 
 createIfNeeded ($db_name)
 
 load ()
 
 reset ()
 
 getColumns ()
 
 getName ()
 
 getFullQualifiedName ()
 
 find ($sort='', $reverse=false)
 
 delete ()
 
 save ()
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 doc ()
 
 generate ($filename)
 
 newModel ($name, $as_view=false)
 
 getModels ()
 
 toJSON ()
 

Protected Attributes

 $name = "CcReceiptView"
 
 $preferred_db = 'trans'
 
 $columns
 
- Protected Attributes inherited from ViewModel
 $name = '__VirtualClass_ShouldNotExist'
 
- Protected Attributes inherited from BasicModel
 $name
 
 $fq_name
 
 $columns = array()
 
 $unique = array()
 
 $meta_types
 
 $connection = false
 
 $record_changed = false
 
 $instance = array()
 
 $filters = array()
 
 $normalize_lanes = false
 
 $currently_normalizing_lane = false
 
 $cached_definition = false
 
 $config
 
 $preferred_db = ''
 
 $hooks = array()
 

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)
 
 validateOp ($operator)
 
 insertRecord ()
 
 updateRecord ()
 
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 loadHooks ()
 

Member Data Documentation

CcReceiptViewModel::$columns
protected
Initial value:
= array(
'tranType' => array('type'=>'VARCHAR(255)'),
'amount' => array('type'=>'MONEY'),
'PAN' => array('type'=>'VARCHAR(255)'),
'entryMethod' => array('type'=>'VARCHAR(255)'),
'issuer' => array('type'=>'VARCHAR(255)'),
'name' => array('type'=>'VARCHAR(255)'),
'xResultMessage' => array('type'=>'VARCHAR(255)'),
'xApprovalNumber' => array('type'=>'VARCHAR(255)'),
'xTransactionID' => array('type'=>'VARCHAR(255)'),
'date' => array('type'=>'INT'),
'cashierNo' => array('type'=>'INT'),
'laneNo' => array('type'=>'INT'),
'transNo' => array('type'=>'INT'),
'transID' => array('type'=>'INT'),
'datetime' => array('type'=>'DATETIME'),
'sortorder' => array('type'=>'INT'),
)

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