TreeController.php
34 * | _in_ `rootTypes` | Name of a configuration value in configuration section 'application', that defines an array of root types of the tree (optional, defaults to 'rootTypes')
35 * | _out_ `list` | An array of associative arrays with keys 'oid', 'displayText', 'isFolder', 'hasChildren'
138 * @param $displayText The text to display (will be taken from TreeController::getDisplayText() if not specified) (default: '')
Controller is the base class of all controllers.
Definition: Controller.php:48
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:27
getOID()
Definition: DefaultPersistentObject.php:123
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:144
TreeController is used to visualize nodes in a tree view.
Definition: TreeController.php:43
static getDisplayValue(Node $node, $language=null)
Get the display value for a Node defined by the 'display_value' property.
Definition: NodeUtil.php:156
ConfigurationException signals an exception in the configuration.
Definition: ConfigurationException.php:18
isVisible(Node $node)
Test if a Node should be displayed in the tree.
Definition: TreeController.php:164
getMapper()
Definition: DefaultPersistentObject.php:113
isRootTypeNode(ObjectId $oid)
Check if the given oid belongs to a root type node.
Definition: TreeController.php:224