diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-02-17 23:20:40 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-02-17 23:20:40 +0100 |
commit | 98c868589ee0757f176239cf289cbd007bb74852 (patch) | |
tree | eb48a172b0f1a423b93ffff35f8adf8d579383c1 /inc/parser/renderer.php | |
parent | 1c73890c5027011d808d38c583561abc309e8086 (diff) | |
download | rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.gz rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.bz2 |
file cleanups
This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)
It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.
darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
Diffstat (limited to 'inc/parser/renderer.php')
-rw-r--r-- | inc/parser/renderer.php | 156 |
1 files changed, 78 insertions, 78 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php index 7ac1c9d7b..a9c86c3f5 100644 --- a/inc/parser/renderer.php +++ b/inc/parser/renderer.php @@ -19,157 +19,157 @@ class Doku_Renderer { function nocache() { $this->info['cache'] = FALSE; } - + //handle plugin rendering function plugin($name,$data){ - $plugin =& plugin_load('syntax',$name); + $plugin =& plugin_load('syntax',$name); if($plugin != null){ - // determine mode from renderer class name - format = "Doku_Renderer_<mode>" - $mode = substr(get_class($this), 14); + // determine mode from renderer class name - format = "Doku_Renderer_<mode>" + $mode = substr(get_class($this), 14); $plugin->render($mode,$this,$data); } } - + function document_start() {} - + function document_end() {} - + function toc_open() {} - + function tocbranch_open($level) {} - + function tocitem_open($level, $empty = FALSE) {} - + function tocelement($level, $title) {} - + function tocitem_close($level) {} - + function tocbranch_close($level) {} - + function toc_close() {} - + function header($text, $level, $pos) {} - + function section_open($level) {} - + function section_close() {} - + function cdata($text) {} - + function p_open() {} - + function p_close() {} - + function linebreak() {} - + function hr() {} - + function strong_open() {} - + function strong_close() {} - + function emphasis_open() {} - + function emphasis_close() {} - + function underline_open() {} - + function underline_close() {} - + function monospace_open() {} - + function monospace_close() {} - + function subscript_open() {} - + function subscript_close() {} - + function superscript_open() {} - + function superscript_close() {} - + function deleted_open() {} - + function deleted_close() {} - + function footnote_open() {} - + function footnote_close() {} - + function listu_open() {} - + function listu_close() {} - + function listo_open() {} - + function listo_close() {} - + function listitem_open($level) {} - + function listitem_close() {} - + function listcontent_open() {} - + function listcontent_close() {} - + function unformatted($text) {} - + function php($text) {} - + function html($text) {} - + function preformatted($text) {} - + function file($text) {} - + function quote_open() {} - + function quote_close() {} - + function code($text, $lang = NULL) {} - + function acronym($acronym) {} - + function smiley($smiley) {} - + function wordblock($word) {} - + function entity($entity) {} - + // 640x480 ($x=640, $y=480) function multiplyentity($x, $y) {} - + function singlequoteopening() {} - + function singlequoteclosing() {} - + function doublequoteopening() {} - + function doublequoteclosing() {} - + // $link like 'SomePage' function camelcaselink($link) {} - + // $link like 'wiki:syntax', $title could be an array (media) function internallink($link, $title = NULL) {} - + // $link is full URL with scheme, $title could be an array (media) function externallink($link, $title = NULL) {} - + // $link is the original link - probably not much use // $wikiName is an indentifier for the wiki // $wikiUri is the URL fragment to append to some known URL function interwikilink($link, $title = NULL, $wikiName, $wikiUri) {} - + // Link to file on users OS, $title could be an array (media) function filelink($link, $title = NULL) {} - + // Link to a Windows share, , $title could be an array (media) function windowssharelink($link, $title = NULL) {} - + // function email($address, $title = NULL) {} function emaillink($address, $name = NULL) {} - + function internalmedialink ( $src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL ) {} @@ -177,21 +177,21 @@ class Doku_Renderer { function externalmedialink( $src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL ) {} - + function table_open($maxcols = NULL, $numrows = NULL){} - + function table_close(){} - + function tablerow_open(){} - + function tablerow_close(){} - + function tableheader_open($colspan = 1, $align = NULL){} - + function tableheader_close(){} - + function tablecell_open($colspan = 1, $align = NULL){} - + function tablecell_close(){} } |