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

Public Member Functions

 getMap ()
 
 hookAddColumnTenderModule ()
 
 TenderID ()
 
 TenderCode ()
 
 TenderName ()
 
 TenderType ()
 
 ChangeMessage ()
 
 MinAmount ()
 
 MaxAmount ()
 
 MaxRefund ()
 
 TenderModule ()
 
- 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 = 'tenders'
 
 $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

TendersModel::$columns
protected
Initial value:
= array(
'TenderID' => array('type'=>'SMALLINT','primary_key'=>True),
'TenderCode' => array('type'=>'VARCHAR(2)','index'=>True),
'TenderName' => array('type'=>'VARCHAR(25)'),
'TenderType' => array('type'=>'VARCHAR(2)'),
'ChangeMessage' => array('type'=>'VARCHAR(25)'),
'MinAmount' => array('type'=>'MONEY','default'=>0.01),
'MaxAmount' => array('type'=>'MONEY','default'=>1000.00),
'MaxRefund' => array('type'=>'MONEY','default'=>1000.00),
'TenderModule' => array('type'=>'VARCHAR(50)', 'default'=>"'TenderModule'"),
)

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