Kartographer
Extension that adds maps to wiki pages
Loading...
Searching...
No Matches
Kartographer\Hooks Class Reference
+ Inheritance diagram for Kartographer\Hooks:
+ Collaboration diagram for Kartographer\Hooks:

Public Member Functions

 __construct (Config $config)
 
 onParserFirstCallInit ( $parser)
 ParserFirstCallInit hook handler.
 
 onParserAfterParse ( $parser, &$text, $stripState)
 ParserAfterParse hook handler.
 
 onParserTestGlobals (&$globals)
 @inheritDoc
 

Constructor & Destructor Documentation

◆ __construct()

Kartographer\Hooks::__construct ( Config $config)
Parameters
Config$config

Member Function Documentation

◆ onParserAfterParse()

Kartographer\Hooks::onParserAfterParse ( $parser,
& $text,
$stripState )

ParserAfterParse hook handler.

See also
https://www.mediawiki.org/wiki/Manual:Hooks/ParserAfterParse
Parameters
Parser$parser
string&$textText being parsed
StripState$stripStateStripState used

◆ onParserFirstCallInit()

Kartographer\Hooks::onParserFirstCallInit ( $parser)

ParserFirstCallInit hook handler.

See also
https://www.mediawiki.org/wiki/Manual:Hooks/ParserFirstCallInit
Parameters
Parser$parser

The documentation for this class was generated from the following file: