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

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_Module_TreeSelect}} This article describes the class ''I2CE_Module_TreeSelect'' . *Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module…')
 
No edit summary
 
Line 2: Line 2:
This article describes the class ''I2CE_Module_TreeSelect'' .
This article describes the class ''I2CE_Module_TreeSelect'' .
*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/TreeSelect/I2CE_Module_TreeSelect.php#L33 modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 33
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L33 modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 33
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
*Since: v3.2.0
*Since: v3.2.0
Line 9: Line 9:
==Variables==
==Variables==
===$trees===
===$trees===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L51 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 51
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L51 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 51
*Type: protected $trees
*Type: protected $trees


==Methods==
==Methods==
===__construct()===
===__construct()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L53 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 53
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L53 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 53
*Signature: public function __construct()
*Signature: public function __construct()
===addAutoCompleteInputTree()===
===addAutoCompleteInputTree()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L85 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 85
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L91 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 91
*Signature: public function addAutoCompleteInputTree($template,$node,$hidden_name,$hidden_id,$selected,$data,$tree_options,$autocomplete_options)
*Signature: public function addAutoCompleteInputTree($template,$node,$hidden_name,$hidden_id,$selected,$data,$tree_options,$autocomplete_options,$delayed)
*Parameters:
*Parameters:
**$template  
**$template  
Line 31: Line 31:
**$autocomplete_options  
**$autocomplete_options  
***Default Value: array()
***Default Value: array()
**$delayed
***Default Value: false
===addAutoCompleteInputTreeById()===
===addAutoCompleteInputTreeById()===
Adds a auto complete input tree
Adds a auto complete input tree
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L63 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 63
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L64 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 64
*Signature: public function addAutoCompleteInputTreeById($obj,$tree_id,$tree_options,$autocomplete_options)
*Signature: public function addAutoCompleteInputTreeById($obj,$tree_id,$tree_options,$autocomplete_options,$delay_index)
*Parameters:
*Parameters:
**$obj  
**$obj  
Line 42: Line 44:
** [http://www.php.net/manual/en/language.types.array.php array ] $autocomplete_options <br/>Defaults to empty array.  Passed to the javascript formwork constructor.
** [http://www.php.net/manual/en/language.types.array.php array ] $autocomplete_options <br/>Defaults to empty array.  Passed to the javascript formwork constructor.
***Default Value: array()
***Default Value: array()
** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $delay_index <br/>if false (default) no delay load of data.  otherwise it should be an integer index to data to be loaded on delay
***Default Value: false
===createTreeData()===
===createTreeData()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L149 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 149
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L173 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 173
*Signature: protected function createTreeData($template,$treeNode,$data)
*Signature: static public function createTreeData($template,$treeNode,$data)
*Parameters:
*Parameters:
**$template  
**$template  
Line 50: Line 54:
**$data  
**$data  
===getHooks()===
===getHooks()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L45 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 45
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L45 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 45
*Signature: static public function getHooks()
*Signature: static public function getHooks()
===getMethods()===
===getMethods()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L36 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 36
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L36 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 36
*Signature: static public function getMethods()
*Signature: static public function getMethods()
===writeOutJS()===
===writeOutJS()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L219 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 219
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php#L244 i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php] on line 244
*Signature: public function writeOutJS($page)
*Signature: public function writeOutJS($page)
*Parameters:
*Parameters:
Line 72: Line 76:
===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 08:16, 6 May 2015


This article describes the class I2CE_Module_TreeSelect .

@filesource Class I2CE_Module_TreeSelect

Variables

$trees

Methods

__construct()

addAutoCompleteInputTree()

  • Defined in i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php on line 91
  • Signature: public function addAutoCompleteInputTree($template,$node,$hidden_name,$hidden_id,$selected,$data,$tree_options,$autocomplete_options,$delayed)
  • Parameters:
    • $template
    • $node
    • $hidden_name
    • $hidden_id
    • $selected
      • Default Value: null
    • $data
    • $tree_options
      • Default Value: array()
    • $autocomplete_options
      • Default Value: array()
    • $delayed
      • Default Value: false

addAutoCompleteInputTreeById()

Adds a auto complete input tree

  • Defined in i2ce/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php on line 64
  • Signature: public function addAutoCompleteInputTreeById($obj,$tree_id,$tree_options,$autocomplete_options,$delay_index)
  • Parameters:
    • $obj
    • string $tree_id
      The id of the tree
    • array $tree_options
      Defaults to empty array. Passed to the javascript formwork constructor.
      • Default Value: array()
    • array $autocomplete_options
      Defaults to empty array. Passed to the javascript formwork constructor.
      • Default Value: array()
    • mixed $delay_index
      if false (default) no delay load of data. otherwise it should be an integer index to data to be loaded on delay
      • Default Value: false

createTreeData()

getHooks()

getMethods()

writeOutJS()

Inherited Methods

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

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