Kajona\System\System\SystemJSTreeBuilder

Base class for the tree nodes based on a class of type InterfaceJStreeNodeLoader.

This class actually retrieves the nodes for a tree based on the given JsTreeNodeLoader

Synopsis

class SystemJSTreeBuilder {
  • // constants
  • const STR_PARAM_INITIALTOGGLING = "jstree_initialtoggling";
  • const STR_PARAM_LOADALLCHILDNOES = "jstree_loadallchildnodes";
}

Constants

Name Value
STR_PARAM_INITIALTOGGLING "jstree_initialtoggling"
STR_PARAM_LOADALLCHILDNOES "jstree_loadallchildnodes"

Members

private

  • $objNodeLoader

Methods

public

  • __construct() — SystemJSTreeBuilder constructor.
  • getChildAllNodes() — Method to get all child nodes for a given system id
  • getJson() — Returns the JSON reprensentation for the JSTree based on the retrieved nodes
  • getNodesByPath() — Retrieves nodes for a tree by the given path.