Class: I2CE Template Options: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php] | The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php] | ||
I2CE_Template_Options | I2CE_Template_Options | ||
@todo Better Documentation | @todo Better Documentation | ||
Line 62: | Line 61: | ||
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php] | The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php] | ||
I2CE_Template_Options | I2CE_Template_Options | ||
@todo Better Documentation | @todo Better Documentation |
Revision as of 22:53, 16 October 2009
The class I2CE_Template_Options contains 2 definitions:
- Definition in 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
This article desrcibes the class I2CE_Template_Options.
- Extends the class: I2CE_Module.
It is contained in the module template-data in the package I2CE
The class is defined in the file: modules/TemplateData/modules/Options/I2CE_Template_Options.php
I2CE_Template_Options @todo Better Documentation
- Author: Carl Leitner <litlfred@ibiblio.org>
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
- mixed $selectID
a string, the node id, or a DOMNode - string $id
The code that will be the submitted value of the form element if selected. - string $value
The display text that will be seen on the page. - 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
- mixed $selectID
a string, the node id, or a DOMNode - array $options
An array where key will be the select id and values will be the select value. - string $value
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 I2CE_Module->launchBackgroundProcess()
launchBackgroundPHPScript()
This method is inherited from I2CE_Module->launchBackgroundPHPScript()
launchBackgroundPage()
This method is inherited from I2CE_Module->launchBackgroundPage()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()
modules/TemplateData/modules/Options/I2CE_Template_Options.php
This article desrcibes the class I2CE_Template_Options.
- Extends the class: I2CE_Module.
It is contained in the module template-data in the package I2CE
The class is defined in the file: modules/TemplateData/modules/Options/I2CE_Template_Options.php
I2CE_Template_Options @todo Better Documentation
- Author: Carl Leitner <litlfred@ibiblio.org>
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
- mixed $selectID
a string, the node id, or a DOMNode - string $id
The code that will be the submitted value of the form element if selected. - string $value
The display text that will be seen on the page. - 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
- mixed $selectID
a string, the node id, or a DOMNode - array $options
An array where key will be the select id and values will be the select value. - string $value
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 I2CE_Module->launchBackgroundProcess()
launchBackgroundPHPScript()
This method is inherited from I2CE_Module->launchBackgroundPHPScript()
launchBackgroundPage()
This method is inherited from I2CE_Module->launchBackgroundPage()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()