From: Roland Häder Date: Wed, 27 Jun 2012 17:24:31 +0000 (+0000) Subject: ANNOUNCEMENT_DATA_ANSWER_STATUS added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a5fc3750ccb39005478d3d83e85afedd0143cde;p=hub.git ANNOUNCEMENT_DATA_ANSWER_STATUS added --- diff --git a/application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php b/application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php index bb078205b..17451fc51 100644 --- a/application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php +++ b/application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php @@ -38,12 +38,13 @@ class PackageAnnouncementAnswerTagFilter extends BaseFilter implements Filterabl // Init array $this->dataXmlNodes = array( - XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_EXTERNAL_IP => '', - XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_INTERNAL_IP => '', - XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATUS => '', - XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_SESSION_ID => '', - XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_TCP_PORT => 9060, - XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_UDP_PORT => 9060 + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_EXTERNAL_IP => '', + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_INTERNAL_IP => '', + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATUS => '', + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_SESSION_ID => '', + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_TCP_PORT => 9060, + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_UDP_PORT => 9060, + XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_ANSWER_STATUS => '', ); } diff --git a/application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php b/application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php index a1e28a948..4223c8d9c 100644 --- a/application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php +++ b/application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php @@ -26,12 +26,13 @@ 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_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'; - const ANNOUNCEMENT_DATA_UDP_PORT = 'my-udp-port'; + const ANNOUNCEMENT_DATA_SESSION_ID = 'my-session-id'; + 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'; + const ANNOUNCEMENT_DATA_UDP_PORT = 'my-udp-port'; + const ANNOUNCEMENT_DATA_ANSWER_STATUS = 'answer-status'; /** * Main nodes in the XML tree