Class: I2CE FormField INT: Difference between revisions

From IHRIS Wiki
No edit summary
(Redirected page to Class: I2CE FormField INT (4.1.7))
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes the class ''I2CE_FormField_INT''.
#REDIRECT [[Class: I2CE_FormField_INT (4.1.7)]]
*Extends the class: [[Class: I2CE_FormField_DB_INT | I2CE_FormField_DB_INT]].
*Parent Classses:  [[Class: I2CE_FormField_DB_INT | I2CE_FormField_DB_INT]] [[Class: I2CE_FormField | I2CE_FormField]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
*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_INT.php modules/Forms/lib/fields/I2CE_FormField_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.
==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.
===getDisplayValue()===
Returns the value of this field as a human readable format.
*Signature: public function getDisplayValue($entry)
*Parameters:
** [[Class: I2CE_Entry | I2CE_Entry]] $entry <br/>If a I2CE_Entry object has been passed to this method then it will return the value for that entry assuming it's an entry for this field.
***Default Value: false
*Returns: [http://www.php.net/manual/en/language.pseudo-types.php mixed ]
===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]]

Latest revision as of 08:37, 23 August 2013