]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/template/class_
Re-renamed :(
[hub.git] / application / hub / main / template / class_
index 40cbc1d7a078e012472aae6976812ea54c5b6145..218e240a1d83cbc00ac283fb54159bef6aa1510e 100644 (file)
@@ -23,7 +23,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 die('YOU NEED TO REPLACE ???, !!! AND ||| IN THIS CLASS BEFORE YOU CAN USE IT.');
-class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemplate {
+class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemplate, Registerable {
        /**
         * Main nodes in the XML tree
         */
@@ -63,7 +63,7 @@ class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemp
         * @throws      BasePathReadProtectedException  If $templateBasePath is
         *                                                                                      read-protected
         */
-       public static final function createXml???TemplateEngine (ManageableApplication $applicationInstance) {
+       public static final function createXml???TemplateEngine () {
                // Get a new instance
                $templateInstance = new Xml???TemplateEngine();
 
@@ -93,7 +93,7 @@ class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemp
 
                // Set template extensions
                $templateInstance->setRawTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('raw_template_extension'));
-               $templateInstance->setCodeTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('!!!_template_extension'));
+               $templateInstance->setCodeTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('node_message_template_extension'));
 
                // Absolute output path for compiled templates
                $templateInstance->setCompileOutputPath($templateInstance->getConfigInstance()->getConfigEntry('base_path') . $templateInstance->getConfigInstance()->getConfigEntry('compile_output_path'));