public function addRenderer(RendererAbstract $renderer)
    {
        $extension = $renderer->getExtension();

        if (isset($this->renderer[$extension])) {
            return false;
        }
        
        $this->renderer[$extension] = $renderer;
        return true;
    }
public function addRenderer(RendererAbstract $renderer)
    {
        $extension = $renderer->getExtension();

        if (isset($this->renderer[$extension])) {
            return false;
        }
        
        $this->renderer[$extension] = $renderer;
        return true;
    }
public function addRenderer ( RendererAbstract $ renderer ) { $ extension = $ renderer -> getExtension ( ) ; if ( isset ( $ this -> renderer [ $ extension ] ) ) { return false ; } $ this -> renderer [ $ extension ] = $ renderer ; return true ; }
Add a renderer.

@access public
@param \Zepi\Web\General\Template\RendererAbstract $renderer
@return boolean
Add a renderer .