Wikibase
MediaWiki Wikibase extension
Wikibase\Client\Hooks\WikibaseClientHookRunner Class Reference

Handle Changes' hooks. More...

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

Public Member Functions

 __construct (HookContainer $hookContainer)
 
 onWikibaseHandleChange ( $change, array $rootJobParams=[])
 Hook runner for the 'WikibaseHandleChange' hook. More...
 
 onWikibaseHandleChanges (array $changes, array $rootJobParams=[])
 Hook runner for the 'WikibaseHandleChanges' hook. More...
 

Private Attributes

 $hookContainer
 

Detailed Description

Handle Changes' hooks.

Author
dang

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\WikibaseClientHookRunner::__construct ( HookContainer  $hookContainer)
Parameters
HookContainer$hookContainer

Member Function Documentation

◆ onWikibaseHandleChange()

Wikibase\Client\Hooks\WikibaseClientHookRunner::onWikibaseHandleChange (   $change,
array  $rootJobParams = [] 
)

Hook runner for the 'WikibaseHandleChange' hook.

Parameters
$change
array$rootJobParams
Returns
bool

Implements Wikibase\Client\Hooks\WikibaseHandleChangeHook.

◆ onWikibaseHandleChanges()

Wikibase\Client\Hooks\WikibaseClientHookRunner::onWikibaseHandleChanges ( array  $changes,
array  $rootJobParams = [] 
)

Hook runner for the 'WikibaseHandleChanges' hook.

Parameters
array$changes
array$rootJobParams
Returns
bool

Implements Wikibase\Client\Hooks\WikibaseHandleChangesHook.

Member Data Documentation

◆ $hookContainer

Wikibase\Client\Hooks\WikibaseClientHookRunner::$hookContainer
private

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