From 7e3c4d6482697c52f6769d8a54350d14de55d180 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 24 May 2015 22:32:39 +0200 Subject: [PATCH] And these ... Signed-off-by: Roland Haeder --- .../class_XmlAnnouncementTemplateEngine.php | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php b/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php index 30a5b49be..5c528e852 100644 --- a/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php +++ b/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php @@ -173,6 +173,16 @@ class XmlAnnouncementTemplateEngine extends BaseXmlTemplateEngine implements Com $this->getStackInstance()->pushNamed('node_announcement', self::ANNOUNCEMENT_DATA_SESSION_ID); } + /** + * Starts the node id + * + * @return void + */ + protected function startNodeId () { + // Push the node name on the stacker + $this->getStackInstance()->pushNamed('node_announcement', self::ANNOUNCEMENT_DATA_NODE_ID); + } + /** * Starts the private key hash * @@ -253,6 +263,16 @@ class XmlAnnouncementTemplateEngine extends BaseXmlTemplateEngine implements Com $this->getStackInstance()->popNamed('node_announcement'); } + /** + * Finishes the node id + * + * @return void + */ + protected function finishNodeId () { + // Pop the last entry + $this->getStackInstance()->popNamed('node_announcement'); + } + /** * Finishes the session id * -- 2.39.5