From 8dfaae4f720bbcc7be53c07f3242bc2a07d1b6ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 2 Dec 2009 11:13:52 +0000 Subject: [PATCH] More methods cleared due to XML rewrite --- .../menu/class_MenuTemplateEngine.php | 26 ++++--------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/inc/classes/main/template/menu/class_MenuTemplateEngine.php b/inc/classes/main/template/menu/class_MenuTemplateEngine.php index fdcaf207..305ceb25 100644 --- a/inc/classes/main/template/menu/class_MenuTemplateEngine.php +++ b/inc/classes/main/template/menu/class_MenuTemplateEngine.php @@ -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' * -- 2.39.5