]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/template/dht/class_XmlDhtBootstrapTemplateEngine.php
Updated 'core'.
[hub.git] / application / hub / main / template / dht / class_XmlDhtBootstrapTemplateEngine.php
index 9b95cc37c5a7a32f9b559f91fe296a80e1b51f76..c99756b53058201e9d9e1537e8d40a48f5f513d7 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @todo               This template engine does not make use of setTemplateType()
@@ -43,7 +43,7 @@ class XmlDhtBootstrapTemplateEngine extends BaseXmlTemplateEngine implements Com
                parent::__construct(__CLASS__);
 
                // Init array
-               $this->subNodes = array(
+               $this->setSubNodes(array(
                        self::DHT_BOOTSTRAP_DATA_BOOTSTRAP_DATA,
                        'listener',
                        self::DHT_BOOTSTRAP_DATA_NODE_STATUS,
@@ -51,7 +51,7 @@ class XmlDhtBootstrapTemplateEngine extends BaseXmlTemplateEngine implements Com
                        self::DHT_BOOTSTRAP_DATA_SESSION_ID,
                        self::DHT_BOOTSTRAP_DATA_EXTERNAL_ADDRESS,
                        self::DHT_BOOTSTRAP_DATA_INTERNAL_ADDRESS
-               );
+               ));
        }
 
        /**