Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\ParserHookHandler Class Reference

Handler for some Parser-related hooks. More...

+ Inheritance diagram for Wikibase\Client\Hooks\ParserHookHandler:
+ Collaboration diagram for Wikibase\Client\Hooks\ParserHookHandler:

Public Member Functions

 __construct (RestrictedEntityLookup $restrictedEntityLookup, int $entityAccessLimit)
 
 onParserClearState ( $parser)
 Called when resetting the state of the Parser between parses.
 
 onParserLimitReportPrepare ( $parser, $parserOutput)
 

Static Public Member Functions

static factory (RestrictedEntityLookup $restrictedEntityLookup, SettingsArray $clientSettings)
 

Private Attributes

 $restrictedEntityLookup
 
 $entityAccessLimit
 

Detailed Description

Handler for some Parser-related hooks.

Author
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\ParserHookHandler::__construct ( RestrictedEntityLookup $restrictedEntityLookup,
int $entityAccessLimit )

Member Function Documentation

◆ factory()

static Wikibase\Client\Hooks\ParserHookHandler::factory ( RestrictedEntityLookup $restrictedEntityLookup,
SettingsArray $clientSettings )
static

◆ onParserClearState()

Wikibase\Client\Hooks\ParserHookHandler::onParserClearState ( $parser)

Called when resetting the state of the Parser between parses.

Parameters
Parser$parser

◆ onParserLimitReportPrepare()

Wikibase\Client\Hooks\ParserHookHandler::onParserLimitReportPrepare ( $parser,
$parserOutput )
Parameters
Parser$parser
ParserOutput$parserOutput

Member Data Documentation

◆ $entityAccessLimit

Wikibase\Client\Hooks\ParserHookHandler::$entityAccessLimit
private

◆ $restrictedEntityLookup

Wikibase\Client\Hooks\ParserHookHandler::$restrictedEntityLookup
private

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