|
|
(15 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This article describes the class ''I2CE_FormField_FLOAT''.
| | #REDIRECT [[Class: I2CE_FormField_FLOAT (4.1.7)]] |
| *Extends the class: [[Class: I2CE_FormField_DB_FLOAT | I2CE_FormField_DB_FLOAT]].
| |
| *Parent Classses: [[Class: I2CE_FormField_DB_FLOAT | I2CE_FormField_DB_FLOAT]] [[Class: I2CE_FormField | I2CE_FormField]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
| |
| *Location: Part of the module [[I2CE Module List#Float|Float]] 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/modules/Float/lib/I2CE_FormField_FLOAT.php modules/Forms/modules/Float/lib/I2CE_FormField_FLOAT.php]
| |
| *Author: Luke Duncan <lduncan@intrahealth.org>
| |
| *Since: v3.1.0
| |
| Class for defining all the database fields used by a [[Class: I2CE_Form | ]] object.
| |
| ==Methods==
| |
| ===__construct()===
| |
| Create a new instance of a I2CE_FormField
| |
| *Signature: public function __construct($name,$options)
| |
| *Parameters:
| |
| ** [http://www.php.net/manual/en/language.types.string.php string ] $name
| |
| ** [http://www.php.net/manual/en/language.types.array.php array ] $options <br/>A list of options for this form field.
| |
| ===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 ]
| |
| ===processDOMEditable()===
| |
| *Signature: public function processDOMEditable($node,$template,$form_node)
| |
| *Parameters:
| |
| **$node
| |
| **$template
| |
| **$form_node
| |
| *Returns: [http://www.php.net/manual/en/language.types.array.php array ]<br/>of DOMNode
| |
| ===processDOMNotEditable()===
| |
| *Signature: public function processDOMNotEditable($node,$template,$form_node)
| |
| *Parameters:
| |
| **$node
| |
| **$template
| |
| **$form_node
| |
| *Returns: [http://www.php.net/manual/en/language.types.array.php array ]<br/>of DOMNodes
| |
| | |
| | |
| [[Category:Class Documentation]]
| |