Class: I2CE Module MenuSelect (Development): Difference between revisions

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_Module_MenuSelect}} This article describes the class ''I2CE_Module_MenuSelect'' . *Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module…')
 
No edit summary
 
Line 2: Line 2:
This article describes the class ''I2CE_Module_MenuSelect'' .
This article describes the class ''I2CE_Module_MenuSelect'' .
*Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module]].
*Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module]].
*Location: Part of the module [[I2CE Module List (Development)#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Location: Part of the module [[I2CE Module List (Development)#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE] 4.1-dev
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L29 modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 29
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L29 modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 29
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_Module_MenuSelect
I2CE_Module_MenuSelect
Line 9: Line 9:
===addUpdateSelect()===
===addUpdateSelect()===
Adds a javascripy select_update object for the named select.
Adds a javascripy select_update object for the named select.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L85 i2ce/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 85
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L85 i2ce/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 85
*Signature: public function addUpdateSelect($template,$select_id,$options)
*Signature: public function addUpdateSelect($template,$select_id,$options)
*Parameters:
*Parameters:
Line 17: Line 17:
***Default Value: array()
***Default Value: array()
===getMethods()===
===getMethods()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L32 i2ce/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 32
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L32 i2ce/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 32
*Signature: static public function getMethods()
*Signature: static public function getMethods()
===menuSelect()===
===menuSelect()===
Adds a 'menuSelect'.  A menu select is a pair of selects.  The parent and the child.  When a parent is selected, we update the child select. Can be called on either a page or a template. $param string $parent_id the $id of the select parent select. $param array $option_list    the keys are the value of each of the options for the parent select. the value is itself an array.  this array has keys the value to be used for the child select and values are the text to be displayed.
Adds a 'menuSelect'.  A menu select is a pair of selects.  The parent and the child.  When a parent is selected, we update the child select. Can be called on either a page or a template. $param string $parent_id the $id of the select parent select. $param array $option_list    the keys are the value of each of the options for the parent select. the value is itself an array.  this array has keys the value to be used for the child select and values are the text to be displayed.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L52 i2ce/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 52
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php#L52 i2ce/modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php] on line 52
*Signature: public function menuSelect($template,$parent_id,$option_list)
*Signature: public function menuSelect($template,$parent_id,$option_list)
*Parameters:
*Parameters:
Line 42: Line 42:
===action_initialize()===
===action_initialize()===
This public method is inherited from [[Class: I2CE_Module (Development)#action_initialize() | I2CE_Module->action_initialize()]]
This public method is inherited from [[Class: I2CE_Module (Development)#action_initialize() | I2CE_Module->action_initialize()]]
===getCLIHooks()===
This public method is inherited from [[Class: I2CE_Module (Development)#getCLIHooks() | I2CE_Module->getCLIHooks()]]


===getCLIMethods()===
===getCLIMethods()===

Latest revision as of 09:16, 6 May 2015


This article describes the class I2CE_Module_MenuSelect .

I2CE_Module_MenuSelect

Methods

addUpdateSelect()

Adds a javascripy select_update object for the named select.

getMethods()

menuSelect()

Adds a 'menuSelect'. A menu select is a pair of selects. The parent and the child. When a parent is selected, we update the child select. Can be called on either a page or a template. $param string $parent_id the $id of the select parent select. $param array $option_list the keys are the value of each of the options for the parent select. the value is itself an array. this array has keys the value to be used for the child select and values are the text to be displayed.

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

getCLIMethods()

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

getConfig()

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

getHooks()

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

post_update()

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

pre_upgrade()

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

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