[ Index ]

PHP Cross Reference of DokuWiki




/inc/Parsing/ParserMode/ -> ModeInterface.php (summary)

(no description)

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

Defines 1 class

ModeInterface:: (5 methods):

Interface: ModeInterface  - X-Ref

Defines a mode (syntax component) in the Parser

getSort()   X-Ref
returns a number used to determine in which order modes are added

return: int;

preConnect()   X-Ref
Called before any calls to connectTo

return: void

connectTo($mode)   X-Ref
Connects the mode

param: string $mode
return: void

postConnect()   X-Ref
Called after all calls to connectTo

return: void

accepts($mode)   X-Ref
Check if given mode is accepted inside this mode

param: string $mode
return: bool