]> git.mxchange.org Git - core.git/commitdiff
More methods cleared due to XML rewrite
authorRoland Häder <roland@mxchange.org>
Wed, 2 Dec 2009 11:13:52 +0000 (11:13 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 2 Dec 2009 11:13:52 +0000 (11:13 +0000)
inc/classes/main/template/menu/class_MenuTemplateEngine.php

index fdcaf207a81cf70a74892afa27fd279c5bb3bf35..305ceb25887ff193b613c4363370582b322f5c9c 100644 (file)
@@ -35,6 +35,7 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla
        private $subNodes = array(
                'entry-list',
                'entry',
+               'entry-id',
                'entries-content',
                'header',
                'footer',
@@ -526,21 +527,10 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla
        /**
         * Starts the menu property 'entry'
         *
-        * @param       $id             Id of the menu
         * @return      void
         */
-       private function startEntry ($id) {
-               // Set id as current
-               $this->curr['entry_id'] = $id;
-
-               // Load the entry template for this page
-               $this->getTemplateInstance()->loadCodeTemplate('menu_entry_' . $id . '_start');
-
-               // Set the variable group to page
-               $this->setVariableGroup('menu');
-
-               // Set its content in this template instance
-               $this->assignVariable('entry_start_' . $this->curr['id'], $this->getTemplateInstance()->getRawTemplateData());
+       private function startEntry () {
+               $this->partialStub('Cleared due to XML rewrite.');
        }
 
        /**
@@ -549,15 +539,9 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla
         * @return      void
         */
        private function finishEntry () {
-               // Load the entry template for this page
-               $this->getTemplateInstance()->loadCodeTemplate('menu_entry_' . $this->curr['entry_id'] . '_end');
-
-               // Set the variable group to page
-               $this->setVariableGroup('menu');
-
-               // Set its content in this template instance
-               $this->assignVariable('entry_end_' . $this->curr['id'], $this->getTemplateInstance()->getRawTemplateData());
+               $this->partialStub('Cleared due to XML rewrite.');
        }
+
        /**
         * Starts the menu property 'anchor'
         *