[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 71 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
Doku_Renderer_code:: (4 methods):
code()
file()
document_end()
getFormat()
Class: Doku_Renderer_code - X-Ref
A simple renderer that allows downloading of code and file snippetscode($text, $language = null, $filename = '') X-Ref |
Send the wanted code block to the browser When the correct block was found it exits the script. param: string $text param: string $language param: string $filename |
file($text, $language = null, $filename = '') X-Ref |
Wraps around code() param: string $text param: string $language param: string $filename |
document_end() X-Ref |
This should never be reached, if it is send a 404 |
getFormat() X-Ref |
Return the format of the renderer returns: string 'code' |