AbstractTableConfigurationTreeDataProvider extends AbstractTreeDataProvider
AbstractYes
An abstract TCA tree data provider
Table of Contents
Properties
- $availableItems : array<string|int, mixed>
- $expandAll : bool
- $expandedList : string
- $itemUnselectableList : array<string|int, mixed>
- Contains all ids which are not allowed to be selected
- $itemWhiteList : array<string|int, mixed>
- Contains all ids which may be allowed to display according to beUser Rights and foreign_table_where (if type db)
- $levelMaximum : int
- $nonSelectableLevelList : string
- $rootNode : TreeNode
- Root Node
- $selectedList : string
- $treeData : TreeNode
- $treeId : string
Methods
- getExpandAll() : bool
- Gets the expandAll
- getItemUnselectableList() : array<string|int, mixed>
- Getter for $itemUnselectableList
- getItemWhiteList() : array<string|int, mixed>
- Getter for the itemWhiteList
- getLevelMaximum() : int
- Gets the levelMaximum
- getNonSelectableLevelList() : string
- Gets the list for non selectable tree levels
- getRoot() : TreeNode
- Returns the root node
- getSelectedList() : string
- Gets the list for selected nodes
- getTreeId() : string
- Gets the id of the tree
- initializeTreeData() : mixed
- Init the tree data
- setAvailableItems() : mixed
- setExpandAll() : mixed
- Sets the expandAll
- setItemUnselectableList() : mixed
- Setter for $itemUnselectableList
- setItemWhiteList() : mixed
- Setter for the itemWhiteList
- setLevelMaximum() : mixed
- Sets the levelMaximum
- setNonSelectableLevelList() : mixed
- Sets the list for non selectable tree levels
- setSelectedList() : mixed
- Sets the list for selected nodes
- setTreeId() : mixed
- Sets the id of the tree
- isExpanded() : bool
- Gets the expanded state of a given node
Properties
$availableItems
protected
array<string|int, mixed>
$availableItems
= []
Tags
$expandAll
protected
bool
$expandAll
= false
$expandedList
protected
string
$expandedList
= ''
$itemUnselectableList
Contains all ids which are not allowed to be selected
protected
array<string|int, mixed>
$itemUnselectableList
= []
$itemWhiteList
Contains all ids which may be allowed to display according to beUser Rights and foreign_table_where (if type db)
protected
array<string|int, mixed>
$itemWhiteList
= []
$levelMaximum
protected
int
$levelMaximum
= 4
$nonSelectableLevelList
protected
string
$nonSelectableLevelList
= '0'
$rootNode
Root Node
protected
TreeNode
$rootNode
$selectedList
protected
string
$selectedList
= ''
$treeData
protected
TreeNode
$treeData
$treeId
protected
string
$treeId
Methods
getExpandAll()
Gets the expandAll
public
getExpandAll() : bool
Return values
boolgetItemUnselectableList()
Getter for $itemUnselectableList
public
getItemUnselectableList() : array<string|int, mixed>
Return values
array<string|int, mixed>getItemWhiteList()
Getter for the itemWhiteList
public
getItemWhiteList() : array<string|int, mixed>
Return values
array<string|int, mixed>getLevelMaximum()
Gets the levelMaximum
public
getLevelMaximum() : int
Return values
intgetNonSelectableLevelList()
Gets the list for non selectable tree levels
public
getNonSelectableLevelList() : string
Return values
stringgetRoot()
Returns the root node
public
abstract getRoot() : TreeNode
Return values
TreeNodegetSelectedList()
Gets the list for selected nodes
public
getSelectedList() : string
Return values
stringgetTreeId()
Gets the id of the tree
public
getTreeId() : string
Return values
stringinitializeTreeData()
Init the tree data
public
initializeTreeData() : mixed
setAvailableItems()
public
setAvailableItems(array<string|int, mixed> $availableItems) : mixed
Parameters
- $availableItems : array<string|int, mixed>
See property comment
setExpandAll()
Sets the expandAll
public
setExpandAll(bool $expandAll) : mixed
Parameters
- $expandAll : bool
setItemUnselectableList()
Setter for $itemUnselectableList
public
setItemUnselectableList(array<string|int, mixed> $itemUnselectableList) : mixed
Parameters
- $itemUnselectableList : array<string|int, mixed>
setItemWhiteList()
Setter for the itemWhiteList
public
setItemWhiteList(array<string|int, mixed> $itemWhiteList) : mixed
Parameters
- $itemWhiteList : array<string|int, mixed>
setLevelMaximum()
Sets the levelMaximum
public
setLevelMaximum(int $levelMaximum) : mixed
Parameters
- $levelMaximum : int
setNonSelectableLevelList()
Sets the list for non selectable tree levels
public
setNonSelectableLevelList(string $nonSelectableLevelList) : mixed
Parameters
- $nonSelectableLevelList : string
setSelectedList()
Sets the list for selected nodes
public
setSelectedList(string $selectedList) : mixed
Parameters
- $selectedList : string
setTreeId()
Sets the id of the tree
public
setTreeId(string $treeId) : mixed
Parameters
- $treeId : string
isExpanded()
Gets the expanded state of a given node
protected
isExpanded(TreeNode $node) : bool
Parameters
- $node : TreeNode