X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Ftemplate%2Fentries%2Fclass_XmlRequestNodeListEntryTemplateEngine.php;h=126b5f77f17eff78a97d6e4b86fdbf71975aa98c;hb=62f2546efa5ec7585c5ce216e6a9676595b1b30b;hp=0f88fc80cc3fa22c0269fa72fecc71c47965acd3;hpb=bd03e94697684c8b747d22779aeb0a676c3715ea;p=hub.git diff --git a/application/hub/main/template/entries/class_XmlRequestNodeListEntryTemplateEngine.php b/application/hub/main/template/entries/class_XmlRequestNodeListEntryTemplateEngine.php index 0f88fc80c..126b5f77f 100644 --- a/application/hub/main/template/entries/class_XmlRequestNodeListEntryTemplateEngine.php +++ b/application/hub/main/template/entries/class_XmlRequestNodeListEntryTemplateEngine.php @@ -2,11 +2,11 @@ /** * An RequestNodeListEntry template engine class for XML templates * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * @todo This template engine does not make use of setTemplateType() * * This program is free software: you can redistribute it and/or modify @@ -22,7 +22,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -die('YOU NEED TO REPLACE RequestNodeListEntry, request_node_list_entry AND request-node-list-entry IN THIS CLASS BEFORE YOU CAN USE IT.'); class XmlRequestNodeListEntryTemplateEngine extends BaseXmlTemplateEngine implements CompileableTemplate, Registerable { /** * Protected constructor @@ -71,11 +70,11 @@ class XmlRequestNodeListEntryTemplateEngine extends BaseXmlTemplateEngine implem // Is this string empty? if (empty($characters)) { // Then skip it silently - return false; + return; } // END - if // Assign data with matching variable here - parent::assignVariable($this->getStackerInstance()->getNamed('node_request_node_list_entry'), $characters); + parent::assignVariable($this->getStackInstance()->getNamed('node_request_node_list_entry'), $characters); } /** @@ -94,7 +93,7 @@ class XmlRequestNodeListEntryTemplateEngine extends BaseXmlTemplateEngine implem */ protected function startRequestNodeListEntry () { // Push the node name on the stacker - $this->getStackerInstance()->pushNamed('node_request_node_list_entry', 'request-node-list-entry'); + $this->getStackInstance()->pushNamed('node_request_node_list_entry', 'request-node-list-entry'); } /** @@ -104,7 +103,7 @@ class XmlRequestNodeListEntryTemplateEngine extends BaseXmlTemplateEngine implem */ protected function finishRequestNodeListEntry () { // Pop the last entry - $this->getStackerInstance()->popNamed('node_request_node_list_entry'); + $this->getStackInstance()->popNamed('node_request_node_list_entry'); } }