Added feature #16228: [Feature] TCA tree (Thanks to Steffen Ritter) - part 2 (abstrac...
authorSteffen Kamper <info@sk-typo3.de>
Wed, 3 Nov 2010 15:51:32 +0000 (15:51 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 3 Nov 2010 15:51:32 +0000 (15:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9251 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/tree/extdirect/class.t3lib_tree_extdirect_abstractextjstree.php
t3lib/tree/renderer/class.t3lib_tree_renderer_abstract.php
t3lib/tree/renderer/class.t3lib_tree_renderer_unorderedlist.php

index 80036e5..ddfab54 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-03  Steffen Kamper  <steffen@typo3.org>
+
+       * Added feature #16228: [Feature] TCA tree (Thanks to Steffen Ritter)
+
 2010-11-03  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #16175: htmlArea RTE: The path of classesAnchor images are modified when saving
index 866c03f..253307a 100644 (file)
@@ -32,7 +32,8 @@
  * @package TYPO3
  * @subpackage t3lib
  */
-abstract class t3lib_tree_extdirect_AbstractExtJsTree extends t3lib_tree_AbstractTree {
+abstract class t3lib_tree_ExtDirect_AbstractExtJsTree extends t3lib_tree_AbstractTree {
+
        /**
         * State Provider
         *
@@ -64,3 +65,5 @@ abstract class t3lib_tree_extdirect_AbstractExtJsTree extends t3lib_tree_Abstrac
         */
        abstract public function getNextTreeLevel(t3lib_tree_Node $node);
 }
+
+?>
\ No newline at end of file
index 9ab9731..8c3ba4f 100644 (file)
@@ -32,7 +32,7 @@
  * @package TYPO3
  * @subpackage t3lib
  */
-abstract class t3lib_tree_renderer_Abstract {
+abstract class t3lib_tree_Renderer_Abstract {
        /**
         * Renders a node recursive or just a single instance
         *
index 92f21e4..9071c73 100644 (file)
@@ -32,7 +32,7 @@
  * @package TYPO3
  * @subpackage t3lib
  */
-class t3lib_tree_renderer_UnorderedList extends t3lib_tree_renderer_Abstract {
+class t3lib_tree_Renderer_UnorderedList extends t3lib_tree_Renderer_Abstract {
        /**
         * recursion level
         *
@@ -51,7 +51,7 @@ class t3lib_tree_renderer_UnorderedList extends t3lib_tree_renderer_Abstract {
                $code = '<li><span class="' . $node->getIcon() .'">&nbsp;</span>' . $node->getLabel();
                if ($recursive && $node->getChildNodes() !== NULL) {
                        $this->recursionLevel++;
-                       $code .= $this->renderCollection($node->getChildNodes());
+                       $code .= $this->renderNodeCollection($node->getChildNodes());
                        $this->recursionLevel--;
 
                }