]> git.mxchange.org Git - hub.git/commitdiff
Re-renamed :(
authorRoland Häder <roland@mxchange.org>
Tue, 26 Jun 2012 15:35:22 +0000 (15:35 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 26 Jun 2012 15:35:22 +0000 (15:35 +0000)
application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php
application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php
application/hub/templates/xml/answer/announcement/announcement_answer.xml

index 394f6a1f484c428e10d73e62008fdba1746a1f20..bb078205bb7f659dcaf6827e0f4f1c94b26483c1 100644 (file)
@@ -40,7 +40,7 @@ class PackageAnnouncementAnswerTagFilter extends BaseFilter implements Filterabl
                $this->dataXmlNodes = array(
                        XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_EXTERNAL_IP => '',
                        XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_INTERNAL_IP => '',
-                       XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STAT => '',
+                       XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATUS => '',
                        XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_SESSION_ID  => '',
                        XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_TCP_PORT    => 9060,
                        XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_UDP_PORT    => 9060
index 0ba2e814aab2d902086c1d1b916024ef129ddb89..a1e28a948ab410eac5ec0c38895c4469aee77204 100644 (file)
@@ -27,7 +27,7 @@ class XmlAnnouncementAnswerTemplateEngine extends BaseTemplateEngine implements
         * Some XML nodes must be available for later data extraction
         */
        const ANNOUNCEMENT_DATA_SESSION_ID  = 'my-session-id';
-       const ANNOUNCEMENT_DATA_NODE_STATE  = 'my-state';
+       const ANNOUNCEMENT_DATA_NODE_STATUS = 'my-status';
        const ANNOUNCEMENT_DATA_EXTERNAL_IP = 'my-external-ip';
        const ANNOUNCEMENT_DATA_INTERNAL_IP = 'my-internal-ip';
        const ANNOUNCEMENT_DATA_TCP_PORT    = 'my-tcp-port';
@@ -53,7 +53,7 @@ class XmlAnnouncementAnswerTemplateEngine extends BaseTemplateEngine implements
                'my-tcp-port',
                'my-udp-port',
                'my-session-id',
-               'my-state',
+               'my-status',
                // Data from other node
                'your-external-ip',
                'your-internal-ip',
@@ -368,21 +368,21 @@ class XmlAnnouncementAnswerTemplateEngine extends BaseTemplateEngine implements
        }
 
        /**
-        * Starts the my-state
+        * Starts the my-status
         *
         * @return      void
         */
-       private function startMyState () {
+       private function startMyStatus () {
                // Push the node name on the stacker
-               $this->getStackerInstance()->pushNamed('announcement_answer', 'my-state');
+               $this->getStackerInstance()->pushNamed('announcement_answer', 'my-status');
        }
 
        /**
-        * Finishes the my-state
+        * Finishes the my-status
         *
         * @return      void
         */
-       private function finishMyState () {
+       private function finishMyStatus () {
                // Pop the last entry
                $this->getStackerInstance()->popNamed('announcement_answer');
        }
index a496d5141f25f3c670d1f87e60260aeada4559ff..48bcfde93a33f33df57c6010a9087bddd94e9ad2 100644 (file)
@@ -50,7 +50,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <!--
                This node's status
                //-->
-               <my-state>{?my_state?}</my-state>
+               <my-status>{?node_status?}</my-status>
        </my-data>
        <!--
        The following data is the other node's data. This data is being sent to