Skip to content
Snippets Groups Projects
Commit 863befa1 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Renderer now inherits from Doku_Plugin

This makes typical plugin functions available to render plugins.

darcs-hash:20070119234945-7ad00-2ecc67ca68c85cfdd67718d147587f2f5ecb317a.gz
parent 4ac67140
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,15 @@
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
require_once DOKU_INC . 'inc/parser/renderer.php';
require_once DOKU_INC . 'inc/plugin.php';
require_once DOKU_INC . 'inc/pluginutils.php';
class Doku_Renderer {
/**
* An empty renderer, produces no output
*
* Inherits from DokuWiki_Plugin for giving additional functions to render plugins
*/
class Doku_Renderer extends DokuWiki_Plugin {
var $info = array(
'cache' => true, // may the rendered result cached?
'toc' => true, // render the TOC?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment