|
|
(16 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| This article describes the ''abstract'' class ''I2CE_FormField_DB_INT''.
| | #REDIRECT [[Class: I2CE_FormField_DB_INT (4.1.12)]] |
| *Extends the class: [[Class: I2CE_FormField | I2CE_FormField]].
| |
| *Parent Classses: [[Class: I2CE_FormField | I2CE_FormField]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
| |
| *Child Classes:
| |
| ** [[Class: I2CE_FormField_BOOL | I2CE_FormField_BOOL]]
| |
| ** [[Class: I2CE_FormField_INT | I2CE_FormField_INT]]
| |
| ** [[Class: I2CE_FormField_INT_GENERATE | I2CE_FormField_INT_GENERATE]]
| |
| ** [[Class: I2CE_FormField_YESNO | I2CE_FormField_YESNO]]
| |
| *Location: Part of the module [[I2CE Module List#forms|forms]] in the package [https://launchpad.net/i2ce I2CE]
| |
| *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/Forms/lib/fields/I2CE_FormField_DB_INT.php modules/Forms/lib/fields/I2CE_FormField_DB_INT.php]
| |
| *Author: Luke Duncan <lduncan@intrahealth.org>
| |
| *Since: v2.0.0
| |
| Class for defining all the database fields used by a [[Class: I2CE_Form | ]] object.
| |
| ==Constants==
| |
| ===I2CE_FormField_DB_INT::FIELD_TYPE_I2CE===
| |
| A string type for the field
| |
| Defined as: 'integer'
| |
| ===I2CE_FormField_DB_INT::FIELD_TYPE_DB===
| |
| The database type for the field
| |
| Defined as: 'int( 11 ) default NULL'
| |
| ===I2CE_FormField_DB_INT::FIELD_TYPE_MDB2===
| |
| The MDB2 type for the field.
| |
| Defined as: 'integer'
| |
| ==Methods==
| |
| ===isValid()===
| |
| Checks to see if the current value for this is set and valid.
| |
| *Signature: public function isValid()
| |
| *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]
| |
| ==Fuzzy Methods==
| |
| ===generateLimit_in()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_in() | I2CE_Module_FormLimits->generateLimit_DB_INT_in() ]]
| |
| ===generateLimit_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_equals() | I2CE_Module_FormLimits->generateLimit_DB_INT_equals() ]]
| |
| ===generateLimit_greaterthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_greaterthan() | I2CE_Module_FormLimits->generateLimit_DB_INT_greaterthan() ]]
| |
| ===generateLimit_lessthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_lessthan() | I2CE_Module_FormLimits->generateLimit_DB_INT_lessthan() ]]
| |
| ===generateLimit_greaterthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_greaterthan_equals() | I2CE_Module_FormLimits->generateLimit_DB_INT_greaterthan_equals() ]]
| |
| ===generateLimit_lessthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_lessthan_equals() | I2CE_Module_FormLimits->generateLimit_DB_INT_lessthan_equals() ]]
| |
| ===generateLimit_between()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#generateLimit_DB_INT_between() | I2CE_Module_FormLimits->generateLimit_DB_INT_between() ]]
| |
| ===checkLimit_in()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_in() | I2CE_Module_FormLimits->checkLimit_DB_INT_in() ]]
| |
| ===checkLimitString_in()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_in() | I2CE_Module_FormLimits->checkLimitString_DB_INT_in() ]]
| |
| ===getLimitMenu_in()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_in() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_in() ]]
| |
| ===processLimitMenu_in()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_in() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_in() ]]
| |
| ===checkLimit_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_equals() | I2CE_Module_FormLimits->checkLimit_DB_INT_equals() ]]
| |
| ===checkLimitString_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_equals() | I2CE_Module_FormLimits->checkLimitString_DB_INT_equals() ]]
| |
| ===getLimitMenu_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_equals() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_equals() ]]
| |
| ===processLimitMenu_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_equals() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_equals() ]]
| |
| ===checkLimit_greaterthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_greaterthan() | I2CE_Module_FormLimits->checkLimit_DB_INT_greaterthan() ]]
| |
| ===checkLimitString_greaterthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_greaterthan() | I2CE_Module_FormLimits->checkLimitString_DB_INT_greaterthan() ]]
| |
| ===getLimitMenu_greaterthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_greaterthan() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_greaterthan() ]]
| |
| ===processLimitMenu_greaterthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_greaterthan() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_greaterthan() ]]
| |
| ===checkLimit_lessthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_lessthan() | I2CE_Module_FormLimits->checkLimit_DB_INT_lessthan() ]]
| |
| ===checkLimitString_lessthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_lessthan() | I2CE_Module_FormLimits->checkLimitString_DB_INT_lessthan() ]]
| |
| ===getLimitMenu_lessthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_lessthan() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_lessthan() ]]
| |
| ===processLimitMenu_lessthan()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_lessthan() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_lessthan() ]]
| |
| ===checkLimit_greaterthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_greaterthan_equals() | I2CE_Module_FormLimits->checkLimit_DB_INT_greaterthan_equals() ]]
| |
| ===checkLimitString_greaterthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_greaterthan_equals() | I2CE_Module_FormLimits->checkLimitString_DB_INT_greaterthan_equals() ]]
| |
| ===getLimitMenu_greaterthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_greaterthan_equals() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_greaterthan_equals() ]]
| |
| ===processLimitMenu_greaterthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_greaterthan_equals() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_greaterthan_equals() ]]
| |
| ===checkLimit_lessthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_lessthan_equals() | I2CE_Module_FormLimits->checkLimit_DB_INT_lessthan_equals() ]]
| |
| ===checkLimitString_lessthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_lessthan_equals() | I2CE_Module_FormLimits->checkLimitString_DB_INT_lessthan_equals() ]]
| |
| ===getLimitMenu_lessthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_lessthan_equals() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_lessthan_equals() ]]
| |
| ===processLimitMenu_lessthan_equals()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_lessthan_equals() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_lessthan_equals() ]]
| |
| ===checkLimit_between()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimit_DB_INT_between() | I2CE_Module_FormLimits->checkLimit_DB_INT_between() ]]
| |
| ===checkLimitString_between()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#checkLimitString_DB_INT_between() | I2CE_Module_FormLimits->checkLimitString_DB_INT_between() ]]
| |
| ===getLimitMenu_between()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_between() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_DISPLAYFIELDSTYLE_between() ]]
| |
| ===processLimitMenu_between()===
| |
| This method is implemented by [[Class: I2CE_Module_FormLimits#I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_between() | I2CE_Module_FormLimits->I2CE_FormField_DB_INT_PROCESSFIELDSTYLE_between() ]]
| |
| | |
| | |
| [[Category:Class Documentation]]
| |