$this->setCompileOutputPath($this->getConfigInstance()->getConfigEntry('base_path') . $this->getConfigInstance()->getConfigEntry('compile_output_path'));
// Init a variable stacker
- $stackerInstance = ObjectFactory::createObjectByConfiguredName($typePrefix . '_' . $xmlTemplateType . '_stacker_class');
+ $stackInstance = ObjectFactory::createObjectByConfiguredName($typePrefix . '_' . $xmlTemplateType . '_stacker_class');
// Set name
$this->stackerName = $typePrefix . '_' . $xmlTemplateType;
// Init stacker
- $stackerInstance->initStack($this->stackerName);
+ $stackInstance->initStack($this->stackerName);
// Set it
- $this->setStackerInstance($stackerInstance);
+ $this->setStackInstance($stackInstance);
// Set XML template type and prefix
$this->xmlTemplateType = $xmlTemplateType;
// Read the variable
$value = parent::readVariable($key, 'general');
+ // Is this null?
+ if (is_null($value)) {
+ // Bah, needs fixing.
+ $this->debugInstance('key=' . $key . ' returns NULL');
+ } // END - if
+
// Return value
return $value;
}