TYPO3
7.6
|
Public Member Functions | |
setClass ($class) | |
getClass () | |
setIcon ($icon) | |
getIcon () | |
setLabel ($label) | |
getLabel () | |
setType ($type) | |
getType () | |
setCallbackAction ($callbackAction) | |
getCallbackAction () | |
toArray ($addChildNodes=true) | |
dataFromArray ($data) | |
Public Member Functions inherited from TreeNode | |
__construct (array $data=array()) | |
setChildNodes (\TYPO3\CMS\Backend\Tree\TreeNodeCollection $childNodes) | |
removeChildNodes () | |
getChildNodes () | |
hasChildNodes () | |
setId ($id) | |
getId () | |
setParentNode (\TYPO3\CMS\Backend\Tree\TreeNode $parentNode=null) | |
getParentNode () | |
equals (\TYPO3\CMS\Backend\Tree\TreeNode $other) | |
compareTo ($other) | |
toArray ($addChildNodes=true) | |
dataFromArray ($data) | |
serialize () | |
unserialize ($serializedString) | |
Protected Attributes | |
$label = '' | |
$type = '' | |
$class = '' | |
$icon = '' | |
$callbackAction = '' | |
Protected Attributes inherited from TreeNode | |
$id = '' | |
$parentNode = null | |
$childNodes = null | |
Representation Tree Node
Definition at line 20 of file TreeRepresentationNode.php.
dataFromArray | ( | $data | ) |
Sets data of the node by a given data array
array | $data |
Definition at line 170 of file TreeRepresentationNode.php.
References TreeRepresentationNode\setCallbackAction(), TreeRepresentationNode\setClass(), TreeRepresentationNode\setIcon(), TreeRepresentationNode\setLabel(), and TreeRepresentationNode\setType().
getCallbackAction | ( | ) |
Returns the callback action
Definition at line 140 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$callbackAction.
getClass | ( | ) |
Definition at line 69 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$class.
getIcon | ( | ) |
Definition at line 86 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$icon.
getLabel | ( | ) |
Definition at line 102 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$label.
getType | ( | ) |
Definition at line 119 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$type.
setCallbackAction | ( | $callbackAction | ) |
Sets the callback action
string | $callbackAction |
Definition at line 130 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$callbackAction.
Referenced by TreeRepresentationNode\dataFromArray().
setClass | ( | $class | ) |
string | $class |
Definition at line 61 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$class.
Referenced by TreeRepresentationNode\dataFromArray().
setIcon | ( | $icon | ) |
string | $icon |
Definition at line 78 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$icon.
Referenced by TreeRepresentationNode\dataFromArray().
setLabel | ( | $label | ) |
string | $label |
Definition at line 94 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$label.
Referenced by TreeRepresentationNode\dataFromArray().
setType | ( | $type | ) |
string | $type |
Definition at line 111 of file TreeRepresentationNode.php.
References TreeRepresentationNode\$type.
Referenced by TreeRepresentationNode\dataFromArray().
toArray | ( | $addChildNodes = true | ) |
Returns the node in an array representation that can be used for serialization
bool | $addChildNodes |
Definition at line 151 of file TreeRepresentationNode.php.
|
protected |
Definition at line 55 of file TreeRepresentationNode.php.
Referenced by TreeRepresentationNode\getCallbackAction(), and TreeRepresentationNode\setCallbackAction().
|
protected |
Definition at line 41 of file TreeRepresentationNode.php.
Referenced by TreeRepresentationNode\getClass(), and TreeRepresentationNode\setClass().
|
protected |
Definition at line 48 of file TreeRepresentationNode.php.
Referenced by TreeRepresentationNode\getIcon(), and TreeRepresentationNode\setIcon().
|
protected |
Definition at line 27 of file TreeRepresentationNode.php.
Referenced by TreeRepresentationNode\getLabel(), and TreeRepresentationNode\setLabel().
|
protected |
Definition at line 34 of file TreeRepresentationNode.php.
Referenced by TreeRepresentationNode\getType(), and TreeRepresentationNode\setType().