+ private function finishBlockList () {
+ // Pop the last entry
+ $this->getStackerInstance()->popNamed('current_node');
+ }
+
+ /**
+ * Starts the menu text
+ *
+ * @return void
+ */
+ private function startText () {
+ // Do we have a template instance?
+ if (is_null($this->getTemplateInstance())) {
+ // Init template instance for underlaying web templates
+ $templateInstance = ObjectFactory::createObjectByConfiguredName('web_template_class');
+
+ // Set it in this template engine
+ $this->setTemplateInstance($templateInstance);
+ } // END - if
+
+ // Load the text template for this page
+ $this->getTemplateInstance()->loadCodeTemplate('menu_text_start');
+
+ // Set the variable group to page
+ $this->setVariableGroup('menu');
+
+ // Set its content in this template instance
+ $this->assignVariable('text', $this->getTemplateInstance()->getRawTemplateData());
+ }
+
+ /**
+ * Finishes the menu text
+ *
+ * @return void
+ */
+ private function finishText () {
+ // Load the text template for this page
+ $this->getTemplateInstance()->loadCodeTemplate('menu_text_end');
+
+ // Set the variable group to page
+ $this->setVariableGroup('menu');
+
+ // Set its content in this template instance
+ $this->assignVariable('text_end', $this->getTemplateInstance()->getRawTemplateData());