[BUGFIX] Rename ExtdirectTreeDataProvide to ExtdirectTreeDataProvider
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 10 Oct 2012 20:12:26 +0000 (22:12 +0200)
committerDmitry Dulepov <dmitry@typo3.org>
Fri, 12 Oct 2012 10:25:07 +0000 (12:25 +0200)
During the namespace change a class named ExtdirectTreeDataProvide
had been introduced into the backend system extension. The more
appropriate name whould be ExtdirectTreeDataProvider.

The patch adds the missing r to filename, classname and all references
in code and comments.

Fixes: #41866
Relates: #41052
Releases: 6.0

Change-Id: If048682a058ae899711361e731c4a83b02eee933
Reviewed-on: http://review.typo3.org/15503
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
t3lib/tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_tree.php
typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvide.php [deleted file]
typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php [new file with mode: 0644]
typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Migrations/Code/LegacyClassesForIde.php

index 6b12c0c..479eaf7 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * @deprecated since 6.0, the classname t3lib_tree_pagetree_extdirect_Tree and this file is obsolete
  * and will be removed by 7.0. The class was renamed and is now located at:
- * typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvide.php
+ * typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('backend') . 'Classes/Tree/Pagetree/ExtdirectTreeDataProvide.php';
+require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('backend') . 'Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php';
 ?>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvide.php b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvide.php
deleted file mode 100644 (file)
index cbfbb35..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-<?php
-namespace TYPO3\CMS\Backend\Tree\Pagetree;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2010-2011 TYPO3 Tree Team <http://forge.typo3.org/projects/typo3v4-extjstrees>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the textfile GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-/**
- * Data Provider of the Page Tree
- *
- * @author Stefan Galinski <stefan.galinski@gmail.com>
- * @package TYPO3
- * @subpackage t3lib
- */
-class ExtdirectTreeDataProvide extends \TYPO3\CMS\Backend\Tree\AbstractExtJsTree {
-
-       /**
-        * Data Provider
-        *
-        * @var \TYPO3\CMS\Backend\Tree\Pagetree\DataProvider
-        */
-       protected $dataProvider = NULL;
-
-       /**
-        * Sets the data provider
-        *
-        * @return void
-        */
-       protected function initDataProvider() {
-               /** @var $dataProvider \TYPO3\CMS\Backend\Tree\Pagetree\DataProvider */
-               $dataProvider = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\DataProvider');
-               $this->setDataProvider($dataProvider);
-       }
-
-       /**
-        * Returns the root node of the tree
-        *
-        * @return array
-        */
-       public function getRoot() {
-               $this->initDataProvider();
-               $node = $this->dataProvider->getRoot();
-               return $node->toArray();
-       }
-
-       /**
-        * Fetches the next tree level
-        *
-        * @param integer $nodeId
-        * @param stdClass $nodeData
-        * @return array
-        */
-       public function getNextTreeLevel($nodeId, $nodeData) {
-               $this->initDataProvider();
-               /** @var $node \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode */
-               $node = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode', (array) $nodeData);
-               if ($nodeId === 'root') {
-                       $nodeCollection = $this->dataProvider->getTreeMounts();
-               } else {
-                       $nodeCollection = $this->dataProvider->getNodes($node, $node->getMountPoint());
-               }
-               return $nodeCollection->toArray();
-       }
-
-       /**
-        * Returns a tree that only contains elements that match the given search string
-        *
-        * @param integer $nodeId
-        * @param stdClass $nodeData
-        * @param string $searchFilter
-        * @return array
-        */
-       public function getFilteredTree($nodeId, $nodeData, $searchFilter) {
-               if (strval($searchFilter) === '') {
-                       return array();
-               }
-               /** @var $node \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode */
-               $node = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode', (array) $nodeData);
-               $this->initDataProvider();
-               if ($nodeId === 'root') {
-                       $nodeCollection = $this->dataProvider->getTreeMounts($searchFilter);
-               } else {
-                       $nodeCollection = $this->dataProvider->getFilteredNodes($node, $searchFilter, $node->getMountPoint());
-               }
-               return $nodeCollection->toArray();
-       }
-
-       /**
-        * Returns the localized list of doktypes to display
-        *
-        * Note: The list can be filtered by the user typoscript
-        * option "options.pageTree.doktypesToShowInNewPageDragArea".
-        *
-        * @return array
-        */
-       public function getNodeTypes() {
-               $map = array(
-                       1 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.0',
-                       3 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.8',
-                       4 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2',
-                       6 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4',
-                       7 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5',
-                       199 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7',
-                       254 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.folder',
-                       255 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.2'
-               );
-               $doktypes = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.doktypesToShowInNewPageDragArea'));
-               $output = array();
-               $allowedDoktypes = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $GLOBALS['BE_USER']->groupData['pagetypes_select']);
-               $isAdmin = $GLOBALS['BE_USER']->isAdmin();
-               foreach ($doktypes as $doktype) {
-                       if (!$isAdmin && !in_array($doktype, $allowedDoktypes)) {
-                               continue;
-                       }
-                       $label = $GLOBALS['LANG']->sL($map[$doktype], TRUE);
-                       $spriteIcon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses($GLOBALS['TCA']['pages']['ctrl']['typeicon_classes'][$doktype]);
-                       $output[] = array(
-                               'nodeType' => $doktype,
-                               'cls' => 'typo3-pagetree-topPanel-button',
-                               'iconCls' => $spriteIcon,
-                               'title' => $label,
-                               'tooltip' => $label
-                       );
-               }
-               return $output;
-       }
-
-       /**
-        * Returns
-        *
-        * @return array
-        */
-       public function getIndicators() {
-               /** @var $indicatorProvider \TYPO3\CMS\Backend\Tree\Pagetree\Indicator */
-               $indicatorProvider = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Indicator');
-               $indicatorHtmlArr = $indicatorProvider->getAllIndicators();
-               $indicator = array(
-                       'html' => implode(' ', $indicatorHtmlArr),
-                       '_COUNT' => count($indicatorHtmlArr)
-               );
-               return $indicator;
-       }
-
-       /**
-        * Returns the language labels, sprites and configuration options for the pagetree
-        *
-        * @return void
-        */
-       public function loadResources() {
-               $file = 'LLL:EXT:lang/locallang_core.xml:';
-               $indicators = $this->getIndicators();
-               $configuration = array(
-                       'LLL' => array(
-                               'copyHint' => $GLOBALS['LANG']->sL($file . 'tree.copyHint', TRUE),
-                               'fakeNodeHint' => $GLOBALS['LANG']->sL($file . 'mess.please_wait', TRUE),
-                               'activeFilterMode' => $GLOBALS['LANG']->sL($file . 'tree.activeFilterMode', TRUE),
-                               'dropToRemove' => $GLOBALS['LANG']->sL($file . 'tree.dropToRemove', TRUE),
-                               'buttonRefresh' => $GLOBALS['LANG']->sL($file . 'labels.refresh', TRUE),
-                               'buttonNewNode' => $GLOBALS['LANG']->sL($file . 'tree.buttonNewNode', TRUE),
-                               'buttonFilter' => $GLOBALS['LANG']->sL($file . 'tree.buttonFilter', TRUE),
-                               'dropZoneElementRemoved' => $GLOBALS['LANG']->sL($file . 'tree.dropZoneElementRemoved', TRUE),
-                               'dropZoneElementRestored' => $GLOBALS['LANG']->sL($file . 'tree.dropZoneElementRestored', TRUE),
-                               'searchTermInfo' => $GLOBALS['LANG']->sL($file . 'tree.searchTermInfo', TRUE),
-                               'temporaryMountPointIndicatorInfo' => $GLOBALS['LANG']->sl($file . 'labels.temporaryDBmount', TRUE),
-                               'deleteDialogTitle' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:deleteItem', TRUE),
-                               'deleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:deleteWarning', TRUE),
-                               'recursiveDeleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:recursiveDeleteWarning', TRUE)
-                       ),
-                       'Configuration' => array(
-                               'hideFilter' => $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.hideFilter'),
-                               'displayDeleteConfirmation' => $GLOBALS['BE_USER']->jsConfirmation(4),
-                               'canDeleteRecursivly' => $GLOBALS['BE_USER']->uc['recursiveDelete'] == TRUE,
-                               'disableIconLinkToContextmenu' => $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.disableIconLinkToContextmenu'),
-                               'indicator' => $indicators['html'],
-                               'temporaryMountPoint' => \TYPO3\CMS\Backend\Tree\Pagetree\Commands::getMountPointPath()
-                       ),
-                       'Sprites' => array(
-                               'Filter' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-system-tree-search-open'),
-                               'NewNode' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-page-new'),
-                               'Refresh' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-system-refresh'),
-                               'InputClear' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-input-clear'),
-                               'TrashCan' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-edit-delete'),
-                               'TrashCanRestore' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-edit-restore'),
-                               'Info' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-document-info')
-                       )
-               );
-               return $configuration;
-       }
-
-}
-
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php
new file mode 100644 (file)
index 0000000..b29e5e2
--- /dev/null
@@ -0,0 +1,214 @@
+<?php
+namespace TYPO3\CMS\Backend\Tree\Pagetree;
+
+/***************************************************************
+ *  Copyright notice
+ *
+ *  (c) 2010-2011 TYPO3 Tree Team <http://forge.typo3.org/projects/typo3v4-extjstrees>
+ *  All rights reserved
+ *
+ *  This script is part of the TYPO3 project. The TYPO3 project is
+ *  free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  The GNU General Public License can be found at
+ *  http://www.gnu.org/copyleft/gpl.html.
+ *  A copy is found in the textfile GPL.txt and important notices to the license
+ *  from the author is found in LICENSE.txt distributed with these scripts.
+ *
+ *
+ *  This script is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+/**
+ * Data Provider of the Page Tree
+ *
+ * @author Stefan Galinski <stefan.galinski@gmail.com>
+ * @package TYPO3
+ * @subpackage t3lib
+ */
+class ExtdirectTreeDataProvider extends \TYPO3\CMS\Backend\Tree\AbstractExtJsTree {
+
+       /**
+        * Data Provider
+        *
+        * @var \TYPO3\CMS\Backend\Tree\Pagetree\DataProvider
+        */
+       protected $dataProvider = NULL;
+
+       /**
+        * Sets the data provider
+        *
+        * @return void
+        */
+       protected function initDataProvider() {
+               /** @var $dataProvider \TYPO3\CMS\Backend\Tree\Pagetree\DataProvider */
+               $dataProvider = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\DataProvider');
+               $this->setDataProvider($dataProvider);
+       }
+
+       /**
+        * Returns the root node of the tree
+        *
+        * @return array
+        */
+       public function getRoot() {
+               $this->initDataProvider();
+               $node = $this->dataProvider->getRoot();
+               return $node->toArray();
+       }
+
+       /**
+        * Fetches the next tree level
+        *
+        * @param integer $nodeId
+        * @param stdClass $nodeData
+        * @return array
+        */
+       public function getNextTreeLevel($nodeId, $nodeData) {
+               $this->initDataProvider();
+               /** @var $node \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode */
+               $node = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode', (array) $nodeData);
+               if ($nodeId === 'root') {
+                       $nodeCollection = $this->dataProvider->getTreeMounts();
+               } else {
+                       $nodeCollection = $this->dataProvider->getNodes($node, $node->getMountPoint());
+               }
+               return $nodeCollection->toArray();
+       }
+
+       /**
+        * Returns a tree that only contains elements that match the given search string
+        *
+        * @param integer $nodeId
+        * @param stdClass $nodeData
+        * @param string $searchFilter
+        * @return array
+        */
+       public function getFilteredTree($nodeId, $nodeData, $searchFilter) {
+               if (strval($searchFilter) === '') {
+                       return array();
+               }
+               /** @var $node \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode */
+               $node = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode', (array) $nodeData);
+               $this->initDataProvider();
+               if ($nodeId === 'root') {
+                       $nodeCollection = $this->dataProvider->getTreeMounts($searchFilter);
+               } else {
+                       $nodeCollection = $this->dataProvider->getFilteredNodes($node, $searchFilter, $node->getMountPoint());
+               }
+               return $nodeCollection->toArray();
+       }
+
+       /**
+        * Returns the localized list of doktypes to display
+        *
+        * Note: The list can be filtered by the user typoscript
+        * option "options.pageTree.doktypesToShowInNewPageDragArea".
+        *
+        * @return array
+        */
+       public function getNodeTypes() {
+               $map = array(
+                       1 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.0',
+                       3 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.8',
+                       4 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2',
+                       6 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4',
+                       7 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5',
+                       199 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7',
+                       254 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.folder',
+                       255 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.2'
+               );
+               $doktypes = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.doktypesToShowInNewPageDragArea'));
+               $output = array();
+               $allowedDoktypes = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $GLOBALS['BE_USER']->groupData['pagetypes_select']);
+               $isAdmin = $GLOBALS['BE_USER']->isAdmin();
+               foreach ($doktypes as $doktype) {
+                       if (!$isAdmin && !in_array($doktype, $allowedDoktypes)) {
+                               continue;
+                       }
+                       $label = $GLOBALS['LANG']->sL($map[$doktype], TRUE);
+                       $spriteIcon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses($GLOBALS['TCA']['pages']['ctrl']['typeicon_classes'][$doktype]);
+                       $output[] = array(
+                               'nodeType' => $doktype,
+                               'cls' => 'typo3-pagetree-topPanel-button',
+                               'iconCls' => $spriteIcon,
+                               'title' => $label,
+                               'tooltip' => $label
+                       );
+               }
+               return $output;
+       }
+
+       /**
+        * Returns
+        *
+        * @return array
+        */
+       public function getIndicators() {
+               /** @var $indicatorProvider \TYPO3\CMS\Backend\Tree\Pagetree\Indicator */
+               $indicatorProvider = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Indicator');
+               $indicatorHtmlArr = $indicatorProvider->getAllIndicators();
+               $indicator = array(
+                       'html' => implode(' ', $indicatorHtmlArr),
+                       '_COUNT' => count($indicatorHtmlArr)
+               );
+               return $indicator;
+       }
+
+       /**
+        * Returns the language labels, sprites and configuration options for the pagetree
+        *
+        * @return void
+        */
+       public function loadResources() {
+               $file = 'LLL:EXT:lang/locallang_core.xml:';
+               $indicators = $this->getIndicators();
+               $configuration = array(
+                       'LLL' => array(
+                               'copyHint' => $GLOBALS['LANG']->sL($file . 'tree.copyHint', TRUE),
+                               'fakeNodeHint' => $GLOBALS['LANG']->sL($file . 'mess.please_wait', TRUE),
+                               'activeFilterMode' => $GLOBALS['LANG']->sL($file . 'tree.activeFilterMode', TRUE),
+                               'dropToRemove' => $GLOBALS['LANG']->sL($file . 'tree.dropToRemove', TRUE),
+                               'buttonRefresh' => $GLOBALS['LANG']->sL($file . 'labels.refresh', TRUE),
+                               'buttonNewNode' => $GLOBALS['LANG']->sL($file . 'tree.buttonNewNode', TRUE),
+                               'buttonFilter' => $GLOBALS['LANG']->sL($file . 'tree.buttonFilter', TRUE),
+                               'dropZoneElementRemoved' => $GLOBALS['LANG']->sL($file . 'tree.dropZoneElementRemoved', TRUE),
+                               'dropZoneElementRestored' => $GLOBALS['LANG']->sL($file . 'tree.dropZoneElementRestored', TRUE),
+                               'searchTermInfo' => $GLOBALS['LANG']->sL($file . 'tree.searchTermInfo', TRUE),
+                               'temporaryMountPointIndicatorInfo' => $GLOBALS['LANG']->sl($file . 'labels.temporaryDBmount', TRUE),
+                               'deleteDialogTitle' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:deleteItem', TRUE),
+                               'deleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:deleteWarning', TRUE),
+                               'recursiveDeleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:recursiveDeleteWarning', TRUE)
+                       ),
+                       'Configuration' => array(
+                               'hideFilter' => $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.hideFilter'),
+                               'displayDeleteConfirmation' => $GLOBALS['BE_USER']->jsConfirmation(4),
+                               'canDeleteRecursivly' => $GLOBALS['BE_USER']->uc['recursiveDelete'] == TRUE,
+                               'disableIconLinkToContextmenu' => $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.disableIconLinkToContextmenu'),
+                               'indicator' => $indicators['html'],
+                               'temporaryMountPoint' => \TYPO3\CMS\Backend\Tree\Pagetree\Commands::getMountPointPath()
+                       ),
+                       'Sprites' => array(
+                               'Filter' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-system-tree-search-open'),
+                               'NewNode' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-page-new'),
+                               'Refresh' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-system-refresh'),
+                               'InputClear' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-input-clear'),
+                               'TrashCan' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-edit-delete'),
+                               'TrashCanRestore' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-edit-restore'),
+                               'Info' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconClasses('actions-document-info')
+                       )
+               );
+               return $configuration;
+       }
+
+}
+
+
+?>
\ No newline at end of file
index 4019588..9e96a54 100644 (file)
@@ -101,7 +101,7 @@ return array(
        't3lib_tree_pagetree_Commands' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Commands',
        't3lib_tree_pagetree_DataProvider' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\DataProvider',
        't3lib_tree_pagetree_extdirect_Commands' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeCommands',
-       't3lib_tree_pagetree_extdirect_Tree' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeDataProvide',
+       't3lib_tree_pagetree_extdirect_Tree' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeDataProvider',
        't3lib_tree_pagetree_Indicator' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Indicator',
        't3lib_tree_pagetree_interfaces_IndicatorProvider' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\IndicatorProviderInterface',
        't3lib_tree_pagetree_Node' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode',
index f4d993b..7d0a96e 100644 (file)
@@ -113,7 +113,7 @@ class Bootstrap {
         */
        public function registerExtDirectComponents() {
                if (TYPO3_MODE === 'BE') {
-                       \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Components.PageTree.DataProvider', PATH_t3lib . 'tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_tree.php:TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeDataProvide', 'web', 'user,group');
+                       \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Components.PageTree.DataProvider', PATH_t3lib . 'tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_tree.php:TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeDataProvider', 'web', 'user,group');
                        \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Components.PageTree.Commands', PATH_t3lib . 'tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_tree.php:TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeCommands', 'web', 'user,group');
                        \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Components.PageTree.ContextMenuDataProvider', PATH_t3lib . 'contextmenu/pagetree/extdirect/class.t3lib_contextmenu_pagetree_extdirect_contextmenu.php:TYPO3\\CMS\\Backend\\ContextMenu\\Pagetree\\Extdirect\\ContextMenuConfiguration', 'web', 'user,group');
                        \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.LiveSearchActions.ExtDirect', PATH_t3lib . 'extjs/dataprovider/class.extdirect_dataprovider_backendlivesearch.php:extDirect_DataProvider_BackendLiveSearch', 'web_list', 'user,group');
index 0625609..6d85d88 100644 (file)
@@ -554,7 +554,7 @@ class t3lib_tree_pagetree_extdirect_Commands extends \TYPO3\CMS\Backend\Tree\Pag
 /**
  * @deprecated since 6.0 will be removed in 7.0
  */
-class t3lib_tree_pagetree_extdirect_Tree extends \TYPO3\CMS\Backend\Tree\Pagetree\ExtdirectTreeDataProvide {}
+class t3lib_tree_pagetree_extdirect_Tree extends \TYPO3\CMS\Backend\Tree\Pagetree\ExtdirectTreeDataProvider {}
 
 /**
  * @deprecated since 6.0 will be removed in 7.0