X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Ftemplate%2Fobjects%2Fclass_XmlObjectRegistryTemplateEngine.php;h=438565cd481866c733aeac83dda70b84df11fe34;hb=065a7d9f3cd465047a0e3ad4c41236155ff8a9d1;hp=a76a8827e66a26a64064406643b06d8407f470d2;hpb=c7b93d02caa6eacf04bb1697ab2b2573481e5f14;p=hub.git diff --git a/application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php b/application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php index a76a8827e..438565cd4 100644 --- a/application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php +++ b/application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php @@ -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);