xref: /plugin/dev/skel/renderer_xhtml.php (revision 8673a04e3e6febe85a87104acdf3ce3205315685)
170316b84SAndreas Gohr<?php
2*8673a04eSAndreas Gohr
370316b84SAndreas Gohr/**
470316b84SAndreas Gohr * DokuWiki Plugin @@PLUGIN_NAME@@ (Renderer Component)
570316b84SAndreas Gohr *
670316b84SAndreas Gohr * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
770316b84SAndreas Gohr * @author @@AUTHOR_NAME@@ <@@AUTHOR_MAIL@@>
870316b84SAndreas Gohr */
970316b84SAndreas Gohrclass @@PLUGIN_COMPONENT_NAME@@ extends Doku_Renderer_xhtml
1070316b84SAndreas Gohr{
1170316b84SAndreas Gohr    /**
1270316b84SAndreas Gohr     * @inheritDoc
1370316b84SAndreas Gohr     * Make available as XHTML replacement renderer
1470316b84SAndreas Gohr     */
1570316b84SAndreas Gohr    public function canRender($format)
1670316b84SAndreas Gohr    {
1770316b84SAndreas Gohr        if ($format == 'xhtml') {
1870316b84SAndreas Gohr            return true;
1970316b84SAndreas Gohr        }
2070316b84SAndreas Gohr        return false;
2170316b84SAndreas Gohr    }
2270316b84SAndreas Gohr
2370316b84SAndreas Gohr    // FIXME override any methods of Doku_Renderer_xhtml here
2470316b84SAndreas Gohr}
25