From: Roland Haeder Date: Sun, 24 May 2015 20:32:39 +0000 (+0200) Subject: And these ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7e3c4d6482697c52f6769d8a54350d14de55d180;p=hub.git And these ... Signed-off-by: Roland Haeder --- 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 *