[ Index ]

PHP Cross Reference of DokuWiki




/lib/plugins/info/ -> syntax.php (summary)

(no description)

File Size: 341 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

syntax_plugin_info:: (12 methods):

Class: syntax_plugin_info  - X-Ref

Info Plugin: Displays information about various DokuWiki internals

getType()   X-Ref
What kind of syntax are we?

getPType()   X-Ref
What about paragraphs?

getSort()   X-Ref
Where to sort in?

connectTo($mode)   X-Ref
Connect pattern to lexer

handle($match, $state, $pos, Doku_Handler $handler)   X-Ref
Handle the match

return: array Return an array with all data you want to use in render
param: string $match The text matched by the patterns
param: int $state The lexer state for the match
param: int $pos The character position of the matched text
param: Doku_Handler $handler The Doku_Handler object

render($format, Doku_Renderer $renderer, $data)   X-Ref
Create output

return: boolean                 rendered correctly?
param: string $format string     output format being rendered
param: Doku_Renderer $renderer the current renderer object
param: array $data data created by handler()

renderPlugins($type, Doku_Renderer $renderer)   X-Ref
list all installed plugins

uses some of the original renderer methods

param: string $type
param: Doku_Renderer $renderer

renderHelperMethods(Doku_Renderer_xhtml $renderer)   X-Ref
list all installed plugins

uses some of the original renderer methods

param: Doku_Renderer_xhtml $renderer

renderSyntaxTypes()   X-Ref
lists all known syntax types and their registered modes

return: string

renderSyntaxModes()   X-Ref
lists all known syntax modes and their sorting value

return: string

renderHooks(Doku_Renderer $renderer)   X-Ref
Render all currently registered event handlers

param: Doku_Renderer $renderer

addToToc($text, $level, Doku_Renderer_xhtml $renderer)   X-Ref
Adds a TOC item

return: string
param: string $text
param: int $level
param: Doku_Renderer_xhtml $renderer