[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/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):
  getSort()
  preConnect()
  connectTo()
  postConnect()
  accepts()


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

return: void
param: string $mode

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

return: void

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

return: bool
param: string $mode