/** * Get the renderer loader * * @return Zend_Loader_PluginLoader */ public static function getRendererLoader() { if (!self::$_rendererLoader instanceof Zend_Loader_PluginLoader) { self::$_rendererLoader = new Zend_Loader_PluginLoader(array('Zend_TextParser_Renderer' => 'Zend/TextParser/Renderer/')); } return self::$_rendererLoader; }
/** * Get the Zend_TextParser_Renderer_Abstract instance * * @return Zend_TextParser_Renderer_Abstract */ public function getTextParser() { if (!$this->_textParser instanceof Zend_TextParser_Renderer_Abstract) { $this->_textParser = Zend_TextParser::factory($this->_tokenizer, $this->_renderer, $this->_options); } return $this->_textParser; }