xref: /dokuwiki/inc/parser/renderer.php (revision 0e1c636e20bd809a1d388e0c6f630b0ecda7086b)
1<?php
2class Doku_Renderer {
3
4    function document_start() {}
5
6    function document_end() {}
7
8    function toc_open() {}
9
10    function tocbranch_open($level) {}
11
12    function tocitem_open($level, $empty = FALSE) {}
13
14    function tocelement($level, $title) {}
15
16    function tocitem_close($level) {}
17
18    function tocbranch_close($level) {}
19
20    function toc_close() {}
21
22    function header($text, $level) {}
23
24    function section_open($level) {}
25
26    function section_close() {}
27
28    function cdata($text) {}
29
30    function p_open() {}
31
32    function p_close() {}
33
34    function linebreak() {}
35
36    function hr() {}
37
38    function strong_open() {}
39
40    function strong_close() {}
41
42    function emphasis_open() {}
43
44    function emphasis_close() {}
45
46    function underline_open() {}
47
48    function underline_close() {}
49
50    function monospace_open() {}
51
52    function monospace_close() {}
53
54    function subscript_open() {}
55
56    function subscript_close() {}
57
58    function superscript_open() {}
59
60    function superscript_close() {}
61
62    function deleted_open() {}
63
64    function deleted_close() {}
65
66    function footnote_open() {}
67
68    function footnote_close() {}
69
70    function listu_open() {}
71
72    function listu_close() {}
73
74    function listo_open() {}
75
76    function listo_close() {}
77
78    function listitem_open($level) {}
79
80    function listitem_close() {}
81
82    function listcontent_open($level) {}
83
84    function listcontent_close() {}
85
86    function unformatted($text) {}
87
88    function php($text) {}
89
90    function html($text) {}
91
92    function preformatted($text) {}
93
94    function file($text) {}
95
96    function quote_open() {}
97
98    function quote_close() {}
99
100    function code($text, $lang = NULL) {}
101
102    function acronym($acronym) {}
103
104    function smiley($smiley) {}
105
106    function wordblock($word) {}
107
108    function entity($entity) {}
109
110    // 640x480 ($x=640, $y=480)
111    function multiplyentity($x, $y) {}
112
113    function singlequoteopening() {}
114
115    function singlequoteclosing() {}
116
117    function doublequoteopening() {}
118
119    function doublequoteclosing() {}
120
121    // $link like 'SomePage'
122    function camelcaselink($link) {}
123
124    // $link like 'wiki:syntax', $title could be an array (media)
125    function internallink($link, $title = NULL) {}
126
127    // $link is full URL with scheme, $title could be an array (media)
128    function externallink($link, $title = NULL) {}
129
130    // $link is the original link - probably not much use
131    // $wikiName is an indentifier for the wiki
132    // $wikiUri is the URL fragment to append to some known URL
133    function interwikilink($link, $title = NULL, $wikiName, $wikiUri) {}
134
135    // Link to file on users OS, $title could be an array (media)
136    function filelink($link, $title = NULL) {}
137
138    // Link to a Windows share, , $title could be an array (media)
139    function windowssharelink($link, $title = NULL) {}
140
141    function email($address, $title = NULL) {}
142
143    function internalmedialink (
144        $src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL
145        ) {}
146
147    function externalmedialink(
148        $src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL
149        ) {}
150
151    function table_open($maxcols = NULL, $numrows = NULL){}
152
153    function table_close(){}
154
155    function tablerow_open(){}
156
157    function tablerow_close(){}
158
159    function tableheader_open($colspan = 1, $align = NULL){}
160
161    function tableheader_close(){}
162
163    function tablecell_open($colspan = 1, $align = NULL){}
164
165    function tablecell_close(){}
166
167}
168
169?>
170