]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php
Some configuration entries prefixed with 'node_'
[hub.git] / application / hub / main / template / objects / class_XmlObjectRegistryTemplateEngine.php
index a76a8827e66a26a64064406643b06d8407f470d2..438565cd481866c733aeac83dda70b84df11fe34 100644 (file)
@@ -68,7 +68,7 @@ class XmlObjectRegistryTemplateEngine extends BaseTemplateEngine implements Comp
                parent::__construct(__CLASS__);
 
                // Init object type registry instance
-               $this->objectRegistryInstance = ObjectFactory::createObjectByConfiguredName('object_type_registry_class');
+               $this->objectRegistryInstance = ObjectFactory::createObjectByConfiguredName('node_object_type_registry_class');
        }
 
        /**
@@ -110,13 +110,13 @@ class XmlObjectRegistryTemplateEngine extends BaseTemplateEngine implements Comp
 
                // Set template extensions
                $templateInstance->setRawTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('raw_template_extension'));
-               $templateInstance->setCodeTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('object_registry_template_extension'));
+               $templateInstance->setCodeTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('node_object_registry_template_extension'));
 
                // Absolute output path for compiled templates
                $templateInstance->setCompileOutputPath($templateInstance->getConfigInstance()->getConfigEntry('base_path') . $templateInstance->getConfigInstance()->getConfigEntry('compile_output_path'));
 
                // Init a variable stacker
-               $stackerInstance = ObjectFactory::createObjectByConfiguredName('object_registry_stacker_class');
+               $stackerInstance = ObjectFactory::createObjectByConfiguredName('node_object_registry_stacker_class');
 
                // Set it
                $templateInstance->setStackerInstance($stackerInstance);
@@ -134,7 +134,7 @@ class XmlObjectRegistryTemplateEngine extends BaseTemplateEngine implements Comp
         */
        public function loadObjectRegistryTemplate ($template) {
                // Set template type
-               $this->setTemplateType($this->getConfigInstance()->getConfigEntry('object_registry_template_type'));
+               $this->setTemplateType($this->getConfigInstance()->getConfigEntry('node_object_registry_template_type'));
 
                // Load the special template
                $this->loadTemplate($template);
@@ -282,7 +282,7 @@ class XmlObjectRegistryTemplateEngine extends BaseTemplateEngine implements Comp
                // Is the template dependency set?
                if ((!empty($templateDependency)) && (!isset($this->dependencyContent[$node]))) {
                        // Get a temporay template instance
-                       $templateInstance = ObjectFactory::createObjectByConfiguredName('object_registry_template_class', array($this->getApplicationInstance()));
+                       $templateInstance = ObjectFactory::createObjectByConfiguredName('node_object_registry_template_class', array($this->getApplicationInstance()));
 
                        // Then load it
                        $templateInstance->loadObjectRegistryTemplate($templateDependency);