diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-05-24 15:20:42 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-05-24 15:20:42 +0200 |
commit | 8e3a5477d12ec6c8413a09d966bf5a84c0666cab (patch) | |
tree | ce3819d0daa94788d63f18e8cf976316ffa52c1e | |
parent | 3dd5c2254a659d7d66017f016e3e0d3d89f479c6 (diff) | |
download | rpg-8e3a5477d12ec6c8413a09d966bf5a84c0666cab.tar.gz rpg-8e3a5477d12ec6c8413a09d966bf5a84c0666cab.tar.bz2 |
added short comment on how a renderer works
-rw-r--r-- | inc/parser/renderer.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php index 5eddc903e..09294539e 100644 --- a/inc/parser/renderer.php +++ b/inc/parser/renderer.php @@ -11,6 +11,12 @@ if(!defined('DOKU_INC')) die('meh.'); * An empty renderer, produces no output * * Inherits from DokuWiki_Plugin for giving additional functions to render plugins + * + * The renderer transforms the syntax instructions created by the parser and handler into the + * desired output format. For each instruction a corresponding method defined in this class will + * be called. That method needs to produce the desired output for the instruction and add it to the + * $doc field. When all instructions are processed, the $doc field contents will be cached by + * DokuWiki and sent to the user. */ class Doku_Renderer extends DokuWiki_Plugin { /** @var array Settings, control the behavior of the renderer */ |