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

Description Provider Hook Handler for Search Results. More...

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

Public Member Functions

 __construct (bool $allowLocalShortDesc, DescriptionLookup $descriptionLookup)
 
 onSearchResultProvideDescription (array $pageIdentities, &$descriptions)
 

Static Public Member Functions

static newFromGlobalState ()
 

Private Attributes

 $descriptionLookup
 
 $allowLocalShortDesc
 

Detailed Description

Description Provider Hook Handler for Search Results.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\DescriptionProviderHookHandler::__construct ( bool  $allowLocalShortDesc,
DescriptionLookup  $descriptionLookup 
)

Member Function Documentation

◆ newFromGlobalState()

static Wikibase\Client\Hooks\DescriptionProviderHookHandler::newFromGlobalState ( )
static

◆ onSearchResultProvideDescription()

Wikibase\Client\Hooks\DescriptionProviderHookHandler::onSearchResultProvideDescription ( array  $pageIdentities,
$descriptions 
)

Member Data Documentation

◆ $allowLocalShortDesc

Wikibase\Client\Hooks\DescriptionProviderHookHandler::$allowLocalShortDesc
private

◆ $descriptionLookup

Wikibase\Client\Hooks\DescriptionProviderHookHandler::$descriptionLookup
private

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