And these ...
authorRoland Haeder <roland@mxchange.org>
Sun, 24 May 2015 20:32:39 +0000 (22:32 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 24 May 2015 20:32:39 +0000 (22:32 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php

index 30a5b49be102e8d150c99462b488d00bf3bfffd6..5c528e8522d5f20b4806a46ac3ca40b49b27d34e 100644 (file)
@@ -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
         *