Class: I2CE Module MenuSelect: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
*Definition in [[#modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php|modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php]] | *Definition in [[#modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php|modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php]] | ||
=modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php= | =modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php= | ||
This article desrcibes the class '''I2CE_Module_MenuSelect''' | This article desrcibes the class '''I2CE_Module_MenuSelect'''. | ||
*Extends the class: [[Class: I2CE_Module | I2CE_Module]]. | |||
It is contained in the module [[iHRIS Module List#menu_select|menu_select]] in the package [https://launchpad.net/i2ce I2CE] | It is contained in the module [[iHRIS Module List#menu_select|menu_select]] in the package [https://launchpad.net/i2ce I2CE] | ||
Line 16: | Line 17: | ||
*Signature: public function addUpdateSelect($template,$select_id,$options) | *Signature: public function addUpdateSelect($template,$select_id,$options) | ||
Parameters: | Parameters: | ||
* [http://www.php.net/manual/en/language.pseudo-types.php mixed] $template<br/>The calling object | * [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $template<br/>The calling object | ||
* [http://www.php.net/manual/en/language.types.string.php string] $select_id<br/>The id of the select | * [http://www.php.net/manual/en/language.types.string.php string ] $select_id<br/>The id of the select | ||
* [http://www.php.net/manual/en/language.types.array.php array] $options<br/>Defaults to the empty array. Othwewise associative array of ooptions passed to javascript object | * [http://www.php.net/manual/en/language.types.array.php array ] $options<br/>Defaults to the empty array. Othwewise associative array of ooptions passed to javascript object | ||
**Default Value: array() | **Default Value: array() | ||
===getMethods()=== | ===getMethods()=== | ||
Line 49: | Line 50: | ||
This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]] | This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]] | ||
=modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php= | =modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php= | ||
This article desrcibes the class '''I2CE_Module_MenuSelect''' | This article desrcibes the class '''I2CE_Module_MenuSelect'''. | ||
*Extends the class: [[Class: I2CE_Module | I2CE_Module]]. | |||
It is contained in the module [[iHRIS Module List#menu_select|menu_select]] in the package [https://launchpad.net/i2ce I2CE] | It is contained in the module [[iHRIS Module List#menu_select|menu_select]] in the package [https://launchpad.net/i2ce I2CE] | ||
Line 62: | Line 64: | ||
*Signature: public function addUpdateSelect($template,$select_id,$options) | *Signature: public function addUpdateSelect($template,$select_id,$options) | ||
Parameters: | Parameters: | ||
* [http://www.php.net/manual/en/language.pseudo-types.php mixed] $template<br/>The calling object | * [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $template<br/>The calling object | ||
* [http://www.php.net/manual/en/language.types.string.php string] $select_id<br/>The id of the select | * [http://www.php.net/manual/en/language.types.string.php string ] $select_id<br/>The id of the select | ||
* [http://www.php.net/manual/en/language.types.array.php array] $options<br/>Defaults to the empty array. Othwewise associative array of ooptions passed to javascript object | * [http://www.php.net/manual/en/language.types.array.php array ] $options<br/>Defaults to the empty array. Othwewise associative array of ooptions passed to javascript object | ||
**Default Value: array() | **Default Value: array() | ||
===getMethods()=== | ===getMethods()=== |
Revision as of 22:25, 16 October 2009
The class I2CE_Module_MenuSelect contains 2 definitions:
- Definition in modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php
- Definition in modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php
modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php
This article desrcibes the class I2CE_Module_MenuSelect.
- Extends the class: I2CE_Module.
It is contained in the module menu_select in the package I2CE
The class is defined in the file: modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php
I2CE_Module_MenuSelect @subpackage Core
- Author: Carl Leitner <litlfred@ibiblio.org>
Methods
addUpdateSelect()
Adds a javascripy select_update object for the named select.
- Signature: public function addUpdateSelect($template,$select_id,$options)
Parameters:
- mixed $template
The calling object - string $select_id
The id of the select - array $options
Defaults to the empty array. Othwewise associative array of ooptions passed to javascript object- Default Value: array()
getMethods()
- Signature: static public function getMethods()
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.
- Signature: public function menuSelect($template,$parent_id,$option_list)
Parameters:
- $template
- $parent_id
- $option_list
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/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php
This article desrcibes the class I2CE_Module_MenuSelect.
- Extends the class: I2CE_Module.
It is contained in the module menu_select in the package I2CE
The class is defined in the file: modules/MooTools/modules/MenuSelect/I2CE_Module_MenuSelect.php
I2CE_Module_MenuSelect @subpackage Core
- Author: Carl Leitner <litlfred@ibiblio.org>
Methods
addUpdateSelect()
Adds a javascripy select_update object for the named select.
- Signature: public function addUpdateSelect($template,$select_id,$options)
Parameters:
- mixed $template
The calling object - string $select_id
The id of the select - array $options
Defaults to the empty array. Othwewise associative array of ooptions passed to javascript object- Default Value: array()
getMethods()
- Signature: static public function getMethods()
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.
- Signature: public function menuSelect($template,$parent_id,$option_list)
Parameters:
- $template
- $parent_id
- $option_list
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()