$ioInstance = $appInstance->getFileIoInstance();
// Determine base path
- $templateBasePath = $tplInstance->getConfigInstance()->readConfig('application_base_path') . $appInstance->getRequestInstance()->getRequestElement('app') . '/';
+ $templateBasePath = $tplInstance->getConfigInstance()->getConfigEntry('application_base_path') . $appInstance->getRequestInstance()->getRequestElement('app') . '/';
// Is the base path valid?
if (empty($templateBasePath)) {
$tplInstance->setFileIoInstance($ioInstance);
// Set template extensions
- $tplInstance->setRawTemplateExtension($configInstance->readConfig('raw_template_extension'));
- $tplInstance->setCodeTemplateExtension($configInstance->readConfig('code_template_extension'));
+ $tplInstance->setRawTemplateExtension($configInstance->getConfigEntry('raw_template_extension'));
+ $tplInstance->setCodeTemplateExtension($configInstance->getConfigEntry('code_template_extension'));
// Absolute output path for compiled templates
- $tplInstance->setCompileOutputPath($configInstance->readConfig('base_path') . $configInstance->readConfig('compile_output_path'));
+ $tplInstance->setCompileOutputPath($configInstance->getConfigEntry('base_path') . $configInstance->getConfigEntry('compile_output_path'));
// Return the prepared instance
return $tplInstance;
public function getImageCacheFqfn () {
// Get the FQFN ready
$fqfn = sprintf("%s%s%s/%s.%s",
- $this->getConfigInstance()->readConfig('base_path'),
+ $this->getConfigInstance()->getConfigEntry('base_path'),
$this->getGenericBasePath(),
'images/_cache',
md5(
*/
public function loadImageTemplate ($template) {
// Set template type
- $this->setTemplateType($this->getConfigInstance()->readConfig('image_template_type'));
+ $this->setTemplateType($this->getConfigInstance()->getConfigEntry('image_template_type'));
// Load the special template
$this->loadTemplate($template);