/** * Create new instance, init reset code */ public function __construct() { parent::__construct(); $this->ccolor = new Console_Color2(); $this->resetCode = $this->ccolor->convert('%n'); }
function getParsedCode() { // Flush the last of the code $this->_addToParsedCode($this->_codeParser->flush()); //Allow the code renderer to postprocess the code $this->_renderer->renderPostview(); $result = $this->_renderer->getHeader() . $this->_parsedCode . $this->_renderer->getFooter(); $this->_parsedCode = ''; return $result; }