![]() |
TYPO3
7.6
|
Protected Attributes | |
$type = '' | |
$leaf = true | |
$expanded = false | |
$expandable = false | |
$draggable = true | |
$isDropTarget = true | |
$text = '' | |
$editableText = '' | |
$prefix = '' | |
$suffix = '' | |
$cls = '' | |
$qtip = '' | |
$spriteIconCode = '' | |
$t3TextSourceField = '' | |
$t3InCopyMode = false | |
$t3InCutMode = false | |
$record = array() | |
$contextInfo = array() | |
$labelIsEditable = true | |
$allowChildren = true | |
![]() | |
$id = '' | |
$parentNode = null | |
$childNodes = null | |
Node for the usage with ExtDirect and ExtJS
Definition at line 20 of file ExtDirectNode.php.
canHaveChildren | ( | ) |
Checks if the node can have child nodes
Definition at line 567 of file ExtDirectNode.php.
References ExtDirectNode\$allowChildren.
Referenced by ExtDirectNode\toArray().
dataFromArray | ( | $data | ) |
Sets data of the node by a given data array
array | $data |
Definition at line 623 of file ExtDirectNode.php.
References ExtDirectNode\setAllowChildren(), ExtDirectNode\setCls(), ExtDirectNode\setContextInfo(), ExtDirectNode\setDraggable(), ExtDirectNode\setEditableText(), ExtDirectNode\setExpandable(), ExtDirectNode\setExpanded(), ExtDirectNode\setInCopyMode(), ExtDirectNode\setInCutMode(), ExtDirectNode\setIsDropTarget(), ExtDirectNode\setLabelIsEditable(), ExtDirectNode\setLeaf(), ExtDirectNode\setQTip(), ExtDirectNode\setSpriteIconCode(), ExtDirectNode\setText(), and ExtDirectNode\setType().
getCls | ( | ) |
Returns the css class(es)
Definition at line 427 of file ExtDirectNode.php.
References ExtDirectNode\$cls.
Referenced by ExtDirectNode\toArray().
getContextInfo | ( | ) |
Returns the context info
Definition at line 532 of file ExtDirectNode.php.
References ExtDirectNode\$contextInfo.
Referenced by ExtDirectNode\toArray().
getEditableText | ( | ) |
Returns the editable text
Definition at line 334 of file ExtDirectNode.php.
References ExtDirectNode\$editableText.
Referenced by ExtDirectNode\toArray().
getPrefix | ( | ) |
Returns the prefix text of the label
Definition at line 396 of file ExtDirectNode.php.
References ExtDirectNode\$prefix.
Referenced by ExtDirectNode\toArray().
getQTip | ( | ) |
Returns the quick tip
Definition at line 448 of file ExtDirectNode.php.
References ExtDirectNode\$qtip.
Referenced by ExtDirectNode\toArray().
getRecord | ( | ) |
Returns the database record array
Definition at line 511 of file ExtDirectNode.php.
References ExtDirectNode\$record.
getSpriteIconCode | ( | ) |
Returns the sprite icon code
Definition at line 469 of file ExtDirectNode.php.
References ExtDirectNode\$spriteIconCode.
Referenced by ExtDirectNode\toArray().
getSuffix | ( | ) |
Returns the suffix text of the label
Definition at line 406 of file ExtDirectNode.php.
References ExtDirectNode\$suffix.
Referenced by ExtDirectNode\toArray().
getText | ( | ) |
Returns the label
Definition at line 313 of file ExtDirectNode.php.
References ExtDirectNode\$text.
Referenced by ExtDirectNode\toArray().
getTextSourceField | ( | ) |
Returns the source field of the label
Definition at line 344 of file ExtDirectNode.php.
References ExtDirectNode\$t3TextSourceField.
Referenced by ExtDirectNode\toArray().
getType | ( | ) |
Returns the node type
Definition at line 178 of file ExtDirectNode.php.
References ExtDirectNode\$type.
Referenced by ExtDirectNode\toArray().
isDraggable | ( | ) |
Returns the draggable indicator
Definition at line 265 of file ExtDirectNode.php.
References ExtDirectNode\$draggable.
Referenced by ExtDirectNode\toArray().
isDropTarget | ( | ) |
Returns the indicator if the node is a drop target
Definition at line 286 of file ExtDirectNode.php.
References ExtDirectNode\$isDropTarget.
Referenced by ExtDirectNode\setIsDropTarget(), and ExtDirectNode\toArray().
isExpandable | ( | ) |
Returns the expandable indicator
Definition at line 220 of file ExtDirectNode.php.
References ExtDirectNode\$expandable.
Referenced by ExtDirectNode\toArray().
isExpanded | ( | ) |
Returns the expanded indicator
Definition at line 241 of file ExtDirectNode.php.
References ExtDirectNode\$expanded, and ExtDirectNode\isLeafNode().
Referenced by ExtDirectNode\toArray().
isInCopyMode | ( | ) |
Returns the copy mode indicator
Definition at line 365 of file ExtDirectNode.php.
References ExtDirectNode\$t3InCopyMode.
Referenced by ExtDirectNode\toArray().
isInCutMode | ( | ) |
Returns the cut mode indicator
Definition at line 386 of file ExtDirectNode.php.
References ExtDirectNode\$t3InCutMode.
Referenced by ExtDirectNode\toArray().
isLabelEditable | ( | ) |
Returns the editable label indicator
Definition at line 490 of file ExtDirectNode.php.
References ExtDirectNode\$labelIsEditable.
Referenced by ExtDirectNode\toArray().
isLeafNode | ( | ) |
Returns if the node is a leaf node
Definition at line 199 of file ExtDirectNode.php.
References ExtDirectNode\$leaf.
Referenced by PagetreeNode\canRemove(), ExtDirectNode\isExpanded(), and ExtDirectNode\toArray().
setAllowChildren | ( | $allowChildren | ) |
Sets the indicator if the node can have child nodes
bool | $allowChildren |
Definition at line 557 of file ExtDirectNode.php.
References ExtDirectNode\$allowChildren.
Referenced by ExtDirectNode\dataFromArray().
setChildNodes | ( | \TYPO3\CMS\Backend\Tree\TreeNodeCollection | $childNodes | ) |
Sets the child nodes collection
\TYPO3\CMS\Backend\Tree\TreeNodeCollection | $childNodes |
Definition at line 543 of file ExtDirectNode.php.
References ExtDirectNode\setLeaf().
setCls | ( | $class | ) |
Sets the css class(es)
string | $class |
Definition at line 417 of file ExtDirectNode.php.
Referenced by ExtDirectNode\dataFromArray().
setContextInfo | ( | $contextInfo | ) |
Sets the context info
array | $contextInfo |
Definition at line 522 of file ExtDirectNode.php.
References ExtDirectNode\$contextInfo.
Referenced by ExtDirectNode\dataFromArray().
setDraggable | ( | $draggable | ) |
Sets the draggable indicator
bool | $draggable |
Definition at line 255 of file ExtDirectNode.php.
References ExtDirectNode\$draggable.
Referenced by ExtDirectNode\dataFromArray().
setEditableText | ( | $editableText | ) |
Sets the editable text
string | $editableText |
Definition at line 324 of file ExtDirectNode.php.
References ExtDirectNode\$editableText.
Referenced by ExtDirectNode\dataFromArray().
setExpandable | ( | $expandable | ) |
Sets the expandable indicator
bool | $expandable |
Definition at line 210 of file ExtDirectNode.php.
References ExtDirectNode\$expandable.
Referenced by ExtDirectNode\dataFromArray().
setExpanded | ( | $expanded | ) |
Sets the expanded indicator
bool | $expanded |
Definition at line 231 of file ExtDirectNode.php.
References ExtDirectNode\$expanded.
Referenced by ExtDirectNode\dataFromArray().
setInCopyMode | ( | $inCopyMode | ) |
Sets the paste copy indicator
bool | $inCopyMode |
Definition at line 355 of file ExtDirectNode.php.
Referenced by ExtDirectNode\dataFromArray().
setInCutMode | ( | $inCutMode | ) |
Sets the paste cut indicator
bool | $inCutMode |
Definition at line 376 of file ExtDirectNode.php.
Referenced by ExtDirectNode\dataFromArray().
setIsDropTarget | ( | $isDropTarget | ) |
Sets the indicator if the node can be a drop target
bool | $isDropTarget |
Definition at line 276 of file ExtDirectNode.php.
References ExtDirectNode\$isDropTarget, and ExtDirectNode\isDropTarget().
Referenced by ExtDirectNode\dataFromArray().
setLabelIsEditable | ( | $labelIsEditable | ) |
Sets the indicator if the label is editable
bool | $labelIsEditable |
Definition at line 480 of file ExtDirectNode.php.
References ExtDirectNode\$labelIsEditable.
Referenced by ExtDirectNode\dataFromArray().
setLeaf | ( | $isLeaf | ) |
Sets the leaf node indicator
bool | $isLeaf |
Definition at line 189 of file ExtDirectNode.php.
Referenced by ExtDirectNode\dataFromArray(), and ExtDirectNode\setChildNodes().
setQTip | ( | $qtip | ) |
Sets the quick tip
string | $qtip |
Definition at line 438 of file ExtDirectNode.php.
References ExtDirectNode\$qtip.
Referenced by ExtDirectNode\dataFromArray().
setRecord | ( | $record | ) |
Sets the database record array
array | $record |
Definition at line 501 of file ExtDirectNode.php.
References ExtDirectNode\$record.
setSpriteIconCode | ( | $spriteIcon | ) |
Sets the sprite icon code
string | $spriteIcon |
Definition at line 459 of file ExtDirectNode.php.
Referenced by ExtDirectNode\dataFromArray().
setText | ( | $text, | |
$textSourceField = 'title' , |
|||
$prefix = '' , |
|||
$suffix = '' |
|||
) |
Sets the label of the node with the source field and the prefix
string | $text | |
string | $textSourceField | |
string | $prefix | |
string | $suffix |
Definition at line 300 of file ExtDirectNode.php.
References ExtDirectNode\$prefix, ExtDirectNode\$suffix, and ExtDirectNode\$text.
Referenced by ExtDirectNode\dataFromArray().
setType | ( | $type | ) |
Set's the node type
string | $type |
Definition at line 168 of file ExtDirectNode.php.
References ExtDirectNode\$type.
Referenced by ExtDirectNode\dataFromArray().
toArray | ( | $addChildNodes = true | ) |
Returns the node in an array representation that can be used for serialization
bool | $addChildNodes |
Definition at line 578 of file ExtDirectNode.php.
References ExtDirectNode\canHaveChildren(), ExtDirectNode\getCls(), ExtDirectNode\getContextInfo(), ExtDirectNode\getEditableText(), TreeNode\getId(), ExtDirectNode\getPrefix(), ExtDirectNode\getQTip(), ExtDirectNode\getSpriteIconCode(), ExtDirectNode\getSuffix(), ExtDirectNode\getText(), ExtDirectNode\getTextSourceField(), ExtDirectNode\getType(), TreeNode\hasChildNodes(), ExtDirectNode\isDraggable(), ExtDirectNode\isDropTarget(), ExtDirectNode\isExpandable(), ExtDirectNode\isExpanded(), ExtDirectNode\isInCopyMode(), ExtDirectNode\isInCutMode(), ExtDirectNode\isLabelEditable(), and ExtDirectNode\isLeafNode().
|
protected |
Definition at line 160 of file ExtDirectNode.php.
Referenced by ExtDirectNode\canHaveChildren(), and ExtDirectNode\setAllowChildren().
|
protected |
Definition at line 97 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getCls().
|
protected |
Definition at line 146 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getContextInfo(), and ExtDirectNode\setContextInfo().
|
protected |
Definition at line 55 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isDraggable(), and ExtDirectNode\setDraggable().
|
protected |
Definition at line 76 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getEditableText(), and ExtDirectNode\setEditableText().
|
protected |
Definition at line 48 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isExpandable(), and ExtDirectNode\setExpandable().
|
protected |
Definition at line 41 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isExpanded(), and ExtDirectNode\setExpanded().
|
protected |
Definition at line 62 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isDropTarget(), and ExtDirectNode\setIsDropTarget().
|
protected |
Definition at line 153 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isLabelEditable(), and ExtDirectNode\setLabelIsEditable().
|
protected |
Definition at line 34 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isLeafNode().
|
protected |
Definition at line 83 of file ExtDirectNode.php.
Referenced by PagetreeNode\calculateNodeId(), ExtDirectNode\getPrefix(), and ExtDirectNode\setText().
|
protected |
Definition at line 104 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getQTip(), and ExtDirectNode\setQTip().
|
protected |
Definition at line 139 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getRecord(), and ExtDirectNode\setRecord().
|
protected |
Definition at line 111 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getSpriteIconCode().
|
protected |
Definition at line 90 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getSuffix(), and ExtDirectNode\setText().
|
protected |
Definition at line 125 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isInCopyMode().
|
protected |
Definition at line 132 of file ExtDirectNode.php.
Referenced by ExtDirectNode\isInCutMode().
|
protected |
Definition at line 118 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getTextSourceField().
|
protected |
Definition at line 69 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getText(), and ExtDirectNode\setText().
|
protected |
Definition at line 27 of file ExtDirectNode.php.
Referenced by ExtDirectNode\getType(), and ExtDirectNode\setType().