function printOutput() { if (empty($this->output)) { if ($this->use_tpl_engine) { $this->prepareTplEngine(); $this->tpl_engine->pparse("Output", "CommonTemplate"); } else { parent::printOutput(); } } }