]> git.mxchange.org Git - hub.git/commitdiff
Used some elements for this engine
authorRoland Häder <roland@mxchange.org>
Wed, 22 Aug 2012 21:16:31 +0000 (21:16 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 22 Aug 2012 21:16:31 +0000 (21:16 +0000)
application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php

index 20f26e4903d01695d57b6ddc4151b1442326533a..b58d883d3ca909f1285c3343c16ba9166ff95a4a 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class XmlRequestNodeListAnswerTemplateEngine extends BaseXmlTemplateEngine implements CompileableTemplate, Registerable {
-       /**
-        * Some XML nodes must be available for later data extraction
-        */
-       const ANNOUNCEMENT_DATA_SESSION_ID    = 'my-session-id';
-
        /**
         * Protected constructor
         *
@@ -39,7 +34,8 @@ class XmlRequestNodeListAnswerTemplateEngine extends BaseXmlTemplateEngine imple
 
                // Init sub-nodes array
                $this->subNodes = array(
-                       self::ANNOUNCEMENT_DATA_SESSION_ID,
+                       XmlRequestNodeListTemplateEngine::REQUEST_DATA_ACCEPTED_OBJECT_TYPES,
+                       XmlRequestNodeListTemplateEngine::REQUEST_DATA_SESSION_ID,
                );
        }