TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ExtdirectTreeDataProvider Class Reference
Inheritance diagram for ExtdirectTreeDataProvider:
AbstractExtJsTree AbstractTree

Public Member Functions

 __construct ()
 
 getRoot ()
 
 getNodeTypes ()
 
 loadResources ()
 
- Public Member Functions inherited from AbstractExtJsTree
 setStateProvider (\TYPO3\CMS\Backend\Tree\AbstractTreeStateProvider $stateProvider)
 
 getStateProvider ()
 
 getNextTreeLevel ($nodeId, $nodeData)
 
- Public Member Functions inherited from AbstractTree
 setDataProvider (\TYPO3\CMS\Backend\Tree\AbstractTreeDataProvider $dataProvider)
 
 getDataProvider ()
 
 setNodeRenderer (\TYPO3\CMS\Backend\Tree\Renderer\AbstractTreeRenderer $nodeRenderer)
 
 getNodeRenderer ()
 
 getRoot ()
 

Protected Attributes

 $dataProvider = null
 
 $iconFactory
 
- Protected Attributes inherited from AbstractExtJsTree
 $stateProvider = null
 
- Protected Attributes inherited from AbstractTree
 $dataProvider = null
 
 $nodeRenderer = null
 

Detailed Description

Data Provider of the Page Tree

Definition at line 25 of file ExtdirectTreeDataProvider.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 42 of file ExtdirectTreeDataProvider.php.

References GeneralUtility\makeInstance().

Member Function Documentation

getNodeTypes ( )

Returns the localized list of doktypes to display

Note: The list can be filtered by the user typoscript option "options.pageTree.doktypesToShowInNewPageDragArea".

Returns
array

Definition at line 123 of file ExtdirectTreeDataProvider.php.

References $GLOBALS, Icon\SIZE_SMALL, and GeneralUtility\trimExplode().

getRoot ( )

Returns the root node of the tree

Returns
array

Definition at line 64 of file ExtdirectTreeDataProvider.php.

loadResources ( )

Returns the language labels and configuration options for the pagetree

Returns
array

Definition at line 179 of file ExtdirectTreeDataProvider.php.

References $GLOBALS, JsConfirmation\DELETE, Commands\getMountPointPath(), and Icon\SIZE_SMALL.

Member Data Documentation

$dataProvider = null
protected

Definition at line 32 of file ExtdirectTreeDataProvider.php.

$iconFactory
protected

Definition at line 37 of file ExtdirectTreeDataProvider.php.