|
|
(30 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| The class I2CE_Template_Options contains 2 definitions:
| | #REDIRECT [[Class: I2CE_Template_Options (4.1.7)]] |
| *Definition in [[#modules/TemplateData/modules/Options/I2CE_Template_Options.php|modules/TemplateData/modules/Options/I2CE_Template_Options.php]]
| |
| *Definition in [[#modules/TemplateData/modules/Options/I2CE_Template_Options.php|modules/TemplateData/modules/Options/I2CE_Template_Options.php]]
| |
| =modules/TemplateData/modules/Options/I2CE_Template_Options.php=
| |
| This article desrcibes the class '''I2CE_Template_Options'''which extends the class [[Class: I2CE_Module | I2CE_Module]]
| |
| It is contained in the module [[iHRIS Module List#template-data|template-data]] in the package [https://launchpad.net/i2ce I2CE]
| |
| The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php]
| |
| @subpackage Core
| |
| @author Carl Leitner <litlfred@ibiblio.org>
| |
| @version 2.1
| |
| @access public
| |
| I2CE_Template_Options | |
| @package I2CE
| |
| @todo Better Documentation
| |
| ==Methods==
| |
| ===addOption()===
| |
| Add option elements to the select node with the given id attribute.
| |
| *Signature: public function addOption($template,$selectID,$id,$value,$node)
| |
| Parameters:
| |
| *$template
| |
| * [http://www.php.net/manual/en/language.pseudo-types.php mixed] $selectID<br/>a string, the node id, or a DOMNode
| |
| * [http://www.php.net/manual/en/language.types.string.php string] $id<br/>The code that will be the submitted value of the form element if selected.
| |
| * [http://www.php.net/manual/en/language.types.string.php string] $value<br/>The display text that will be seen on the page.
| |
| * [http://www.php.net/manual/en/class.domnode.php domnode] $node
| |
| **Default Value: null
| |
| ===addOptions()===
| |
| Add options elements to the select node with the given id attribute.
| |
| *Signature: public function addOptions($template,$selectID,$options,$value,$node)
| |
| Parameters:
| |
| *$template
| |
| * [http://www.php.net/manual/en/language.pseudo-types.php mixed] $selectID<br/>a string, the node id, or a DOMNode
| |
| * [http://www.php.net/manual/en/language.types.array.php array] $options<br/>An array where key will be the select id and values will be the select value.
| |
| * [http://www.php.net/manual/en/language.types.string.php string] $value<br/>The display text that will be seen on the page.
| |
| *$node
| |
| **Default Value: null
| |
| ===getHooks()===
| |
| *Signature: static public function getHooks()
| |
| ===getMethods()===
| |
| *Signature: static public function getMethods()
| |
| ===processOptions()===
| |
| *Signature: public function processOptions($page)
| |
| Parameters:
| |
| *$page
| |
| | |
| ==Inherited Fuzzy Methods==
| |
| ===launchBackgroundProcess()===
| |
| This method is inherited from [[Class: I2CE_Module#launchBackgroundProcess() | I2CE_Module->launchBackgroundProcess()]]
| |
| ===launchBackgroundPHPScript()===
| |
| This method is inherited from [[Class: I2CE_Module#launchBackgroundPHPScript() | I2CE_Module->launchBackgroundPHPScript()]]
| |
| ===launchBackgroundPage()===
| |
| This method is inherited from [[Class: I2CE_Module#launchBackgroundPage() | I2CE_Module->launchBackgroundPage()]]
| |
| ===userMessage()===
| |
| This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]
| |
| =modules/TemplateData/modules/Options/I2CE_Template_Options.php=
| |
| This article desrcibes the class '''I2CE_Template_Options'''which extends the class [[Class: I2CE_Module | I2CE_Module]]
| |
| It is contained in the module [[iHRIS Module List#template-data|template-data]] in the package [https://launchpad.net/i2ce I2CE]
| |
| The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php]
| |
| @subpackage Core
| |
| @author Carl Leitner <litlfred@ibiblio.org>
| |
| @version 2.1
| |
| @access public
| |
| I2CE_Template_Options
| |
| @package I2CE
| |
| @todo Better Documentation
| |
| ==Methods==
| |
| ===addOption()===
| |
| Add option elements to the select node with the given id attribute.
| |
| *Signature: public function addOption($template,$selectID,$id,$value,$node)
| |
| Parameters:
| |
| *$template
| |
| * [http://www.php.net/manual/en/language.pseudo-types.php mixed] $selectID<br/>a string, the node id, or a DOMNode
| |
| * [http://www.php.net/manual/en/language.types.string.php string] $id<br/>The code that will be the submitted value of the form element if selected.
| |
| * [http://www.php.net/manual/en/language.types.string.php string] $value<br/>The display text that will be seen on the page.
| |
| * [http://www.php.net/manual/en/class.domnode.php domnode] $node
| |
| **Default Value: null
| |
| ===addOptions()===
| |
| Add options elements to the select node with the given id attribute.
| |
| *Signature: public function addOptions($template,$selectID,$options,$value,$node)
| |
| Parameters:
| |
| *$template
| |
| * [http://www.php.net/manual/en/language.pseudo-types.php mixed] $selectID<br/>a string, the node id, or a DOMNode
| |
| * [http://www.php.net/manual/en/language.types.array.php array] $options<br/>An array where key will be the select id and values will be the select value.
| |
| * [http://www.php.net/manual/en/language.types.string.php string] $value<br/>The display text that will be seen on the page.
| |
| *$node
| |
| **Default Value: null
| |
| ===getHooks()===
| |
| *Signature: static public function getHooks()
| |
| ===getMethods()===
| |
| *Signature: static public function getMethods()
| |
| ===processOptions()===
| |
| *Signature: public function processOptions($page)
| |
| Parameters:
| |
| *$page
| |
| | |
| ==Inherited Fuzzy Methods==
| |
| ===launchBackgroundProcess()===
| |
| This method is inherited from [[Class: I2CE_Module#launchBackgroundProcess() | I2CE_Module->launchBackgroundProcess()]]
| |
| ===launchBackgroundPHPScript()===
| |
| This method is inherited from [[Class: I2CE_Module#launchBackgroundPHPScript() | I2CE_Module->launchBackgroundPHPScript()]]
| |
| ===launchBackgroundPage()===
| |
| This method is inherited from [[Class: I2CE_Module#launchBackgroundPage() | I2CE_Module->launchBackgroundPage()]]
| |
| ===userMessage()===
| |
| This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]
| |
| | |
| | |
| [[Category:Class Documentation]]
| |