Class: I2CE Module TreeSelect: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 5: Line 5:
This article desrcibes the class ''I2CE_Module_TreeSelect''.
This article desrcibes the class ''I2CE_Module_TreeSelect''.
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
*Parent Classses:  [[Class: I2CE_Module | I2CE_Module]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
*Location: Part of the module [[iHRIS Module List#TreeSelect|TreeSelect]] in the package [https://launchpad.net/i2ce I2CE]
*Location: Part of the module [[iHRIS Module List#TreeSelect|TreeSelect]] 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/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php]
Line 110: Line 111:
This article desrcibes the class ''I2CE_Module_TreeSelect''.
This article desrcibes the class ''I2CE_Module_TreeSelect''.
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
*Parent Classses:  [[Class: I2CE_Module | I2CE_Module]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
*Location: Part of the module [[iHRIS Module List#TreeSelect|TreeSelect]] in the package [https://launchpad.net/i2ce I2CE]
*Location: Part of the module [[iHRIS Module List#TreeSelect|TreeSelect]] 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/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php]

Revision as of 15:02, 17 October 2009

The class I2CE_Module_TreeSelect contains 2 definitions:

modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php

This article desrcibes the class I2CE_Module_TreeSelect.

@filesource Class I2CE_Module_TreeSelect

Variables

$trees

  • Type: protected $trees

Methods

__construct()

  • Signature: public function __construct()

addAutoCompleteInputTree()

  • Signature: public function addAutoCompleteInputTree($template,$node,$hidden_name,$hidden_id,$selected,$data,$tree_options,$autocomplete_options)
  • Parameters:
    • $template
    • $node
    • $hidden_name
    • $hidden_id
    • $selected
      • Default Value: null
    • $data
    • $tree_options
      • Default Value: array()
    • $autocomplete_options
      • Default Value: array()

addAutoCompleteInputTreeById()

Adds a auto complete input tree

  • Signature: public function addAutoCompleteInputTreeById($obj,$tree_id,$tree_options,$autocomplete_options)
  • 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()

createTreeData()

  • Signature: protected function createTreeData($template,$treeNode,$data)
  • Parameters:
    • $template
    • $treeNode
    • $data

getHooks()

  • Signature: static public function getHooks()

getMethods()

  • Signature: static public function getMethods()

writeOutJS()

  • Signature: public function writeOutJS($page)
  • Parameters:
    • $page

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

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

modules/MooTools/modules/TreeSelect/I2CE_Module_TreeSelect.php

This article desrcibes the class I2CE_Module_TreeSelect.

@filesource Class I2CE_Module_TreeSelect

Variables

$trees

  • Type: protected $trees

Methods

__construct()

  • Signature: public function __construct()

addAutoCompleteInputTree()

  • Signature: public function addAutoCompleteInputTree($template,$node,$hidden_name,$hidden_id,$selected,$data,$tree_options,$autocomplete_options)
  • Parameters:
    • $template
    • $node
    • $hidden_name
    • $hidden_id
    • $selected
      • Default Value: null
    • $data
    • $tree_options
      • Default Value: array()
    • $autocomplete_options
      • Default Value: array()

addAutoCompleteInputTreeById()

Adds a auto complete input tree

  • Signature: public function addAutoCompleteInputTreeById($obj,$tree_id,$tree_options,$autocomplete_options)
  • 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()

createTreeData()

  • Signature: protected function createTreeData($template,$treeNode,$data)
  • Parameters:
    • $template
    • $treeNode
    • $data

getHooks()

  • Signature: static public function getHooks()

getMethods()

  • Signature: static public function getMethods()

writeOutJS()

  • Signature: public function writeOutJS($page)
  • Parameters:
    • $page

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

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