Class: I2CE Module TreeSelect

From IHRIS Wiki
Revision as of 13:10, 19 October 2009 by Litlfred (talk | contribs)

This article describes 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