summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-05-24 15:20:42 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-05-24 15:20:42 +0200
commit8e3a5477d12ec6c8413a09d966bf5a84c0666cab (patch)
treece3819d0daa94788d63f18e8cf976316ffa52c1e /inc/parser
parent3dd5c2254a659d7d66017f016e3e0d3d89f479c6 (diff)
downloadrpg-8e3a5477d12ec6c8413a09d966bf5a84c0666cab.tar.gz
rpg-8e3a5477d12ec6c8413a09d966bf5a84c0666cab.tar.bz2
added short comment on how a renderer works
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/renderer.php6
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 */