* @return void
*/
public function __construct ($message, $code) {
- die($message);
// Call parent constructor
parent::__construct($message, $code);
}
$this->setDebugInstance(DebugMiddleware::createDebugMiddleware($this->getConfigInstance()->readConfig('debug_class')));
// Get output instance and set it
- $outputInstance = ObjectFactory::createObjectByConfiguredName('web_engine', array($this->getConfigInstance()->readConfig('web_content_type')));
+ $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this->getConfigInstance()->readConfig('web_content_type')));
$this->setWebOutputInstance($outputInstance);
// Set the compressor channel
public final function output ($outStream) {
// Is the output stream set
if (empty($outStream)) {
- // Initialization phase
+ // @TODO Initialization phase
return;
} // END - if
$cfg->setConfigEntry('code_template_type', "code");
// CFG: WEB-ENGINE
-$cfg->setConfigEntry('web_engine', "WebOutput");
+$cfg->setConfigEntry('output_class', "WebOutput");
// CFG: SELECTOR-TEMPLATE-PREFIX
$cfg->setConfigEntry('tpl_selector_prefix', "selector");