Class TreeView
Class TreeView.
Implementation for tree displaying.
- DcGeneral\Contao\View\Contao2BackendView\BaseView implements DcGeneral\Contao\View\Contao2BackendView\BackendViewInterface
-
DcGeneral\Contao\View\Contao2BackendView\TreeView
Namespace: DcGeneral\Contao\View\Contao2BackendView
Package: DcGeneral\Contao\View\Contao2BackendView
Located at Contao/View/Contao2BackendView/TreeView.php
Package: DcGeneral\Contao\View\Contao2BackendView
Located at Contao/View/Contao2BackendView/TreeView.php
protected
string
|
|
protected
array
|
|
protected
|
#
toggleModel( string $providerName, mixed $id )
Toggle the model with the given id from the given provider. |
protected
boolean
|
|
public
|
#
loadCollection( mixed $rootId = null, integer $intLevel = 0, null $providerName = null )
Load the collection of child items and the parent item for the currently selected parent item. |
protected
|
|
protected
array
|
#
calcLabelFields( string $strTable )
Calculate the fields needed by a tree label for the given data provider name. |
protected
|
#
determineModelState(
Check the state of a model and set the metadata accordingly. |
protected
|
#
treeWalkModel(
This "renders" a model for tree view. |
public
|
#
getTreeCollectionRecursive( array $rootId, integer $intLevel = 0, string $providerName = null )
Recursively retrieve a collection of all complete node hierarchy. |
protected
string
|
|
protected
string
|
|
public static
string
|
#
renderPasteRootButton(
Render the paste button for pasting into the root of the tree. |
protected
string
|
|
public
|
#
enforceModelRelationship(
Abstract method to be overridden in the certain child classes. |
public
string
|
|
public
|
|
public
string
|
#
ajaxTreeView( string $id, string $providerName, integer $level )
Handle ajax rendering of a sub tree. |
$environment,
$notImplMsg,
$panel
|