xref: /plugin/dev/skel/renderer_xhtml.php (revision 70316b849e063a6d74c051966388525c6a62b604)
1*70316b84SAndreas Gohr<?php
2*70316b84SAndreas Gohr/**
3*70316b84SAndreas Gohr * DokuWiki Plugin @@PLUGIN_NAME@@ (Renderer Component)
4*70316b84SAndreas Gohr *
5*70316b84SAndreas Gohr * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6*70316b84SAndreas Gohr * @author  @@AUTHOR_NAME@@ <@@AUTHOR_MAIL@@>
7*70316b84SAndreas Gohr */
8*70316b84SAndreas Gohrclass @@PLUGIN_COMPONENT_NAME@@ extends Doku_Renderer_xhtml
9*70316b84SAndreas Gohr{
10*70316b84SAndreas Gohr
11*70316b84SAndreas Gohr    /**
12*70316b84SAndreas Gohr     * @inheritDoc
13*70316b84SAndreas Gohr     * Make available as XHTML replacement renderer
14*70316b84SAndreas Gohr     */
15*70316b84SAndreas Gohr    public function canRender($format)
16*70316b84SAndreas Gohr    {
17*70316b84SAndreas Gohr        if ($format == 'xhtml') {
18*70316b84SAndreas Gohr            return true;
19*70316b84SAndreas Gohr        }
20*70316b84SAndreas Gohr        return false;
21*70316b84SAndreas Gohr    }
22*70316b84SAndreas Gohr
23*70316b84SAndreas Gohr    // FIXME override any methods of Doku_Renderer_xhtml here
24*70316b84SAndreas Gohr}
25*70316b84SAndreas Gohr
26