Class: I2CE Template Options: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 2: Line 2:
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
*Location: Part of the module [[I2CE Module List#Options|Options]] in the package [https://launchpad.net/i2ce I2CE]
*Location: Part of the module [[I2CE Module List#Options|Options]] 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/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.1-release/annotate/head:/modules/TemplateData/modules/Options/I2CE_Template_Options.php modules/TemplateData/modules/Options/I2CE_Template_Options.php]
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_Template_Options  @todo Better Documentation
I2CE_Template_Options  @todo Better Documentation

Revision as of 16:16, 29 October 2009

This article describes the class I2CE_Template_Options.

I2CE_Template_Options @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
    • 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 Methods

__construct()

This public method is inherited from I2CE_Module->__construct()

action_configure()

This public method is inherited from I2CE_Module->action_configure()

action_disable()

This public method is inherited from I2CE_Module->action_disable()

action_enable()

This public method is inherited from I2CE_Module->action_enable()

action_initialize()

This public method is inherited from I2CE_Module->action_initialize()

conflict_external()

This public method is inherited from I2CE_Module->conflict_external()

getCLIHooks()

This public method is inherited from I2CE_Module->getCLIHooks()

getCLIMethods()

This public method is inherited from I2CE_Module->getCLIMethods()

getConfig()

This public method is inherited from I2CE_Module->getConfig()

post_update()

This public method is inherited from I2CE_Module->post_update()

pre_upgrade()

This public method is inherited from I2CE_Module->pre_upgrade()

requirement_external()

This public method is inherited from I2CE_Module->requirement_external()

upgrade()

This public method is inherited from I2CE_Module->upgrade()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

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()