Wikibase
MediaWiki Wikibase extension
Wikibase\Client\Api\ApiPropsEntityUsage Class Reference

API module to get the usage of entities. More...

+ Inheritance diagram for Wikibase\Client\Api\ApiPropsEntityUsage:
+ Collaboration diagram for Wikibase\Client\Api\ApiPropsEntityUsage:

Public Member Functions

 __construct (ApiQuery $query, string $moduleName, RepoLinker $repoLinker)
 
 execute ()
 
 getCacheMode ( $params)
 
 doQuery (array $params)
 
 getAllowedParams ()
 
 getHelpUrls ()
 

Protected Member Functions

 getExamplesMessages ()
 

Private Member Functions

 formatResult (IResultWrapper $res, int $limit, array $prop)
 
 setContinueFromRow (object $row)
 

Private Attributes

 $repoLinker = null
 

Detailed Description

API module to get the usage of entities.

Author
Amir Sarabadani < ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Api\ApiPropsEntityUsage::__construct ( ApiQuery  $query,
string  $moduleName,
RepoLinker  $repoLinker 
)

Member Function Documentation

◆ doQuery()

Wikibase\Client\Api\ApiPropsEntityUsage::doQuery ( array  $params)

◆ execute()

Wikibase\Client\Api\ApiPropsEntityUsage::execute ( )

◆ formatResult()

Wikibase\Client\Api\ApiPropsEntityUsage::formatResult ( IResultWrapper  $res,
int  $limit,
array  $prop 
)
private

◆ getAllowedParams()

Wikibase\Client\Api\ApiPropsEntityUsage::getAllowedParams ( )

◆ getCacheMode()

Wikibase\Client\Api\ApiPropsEntityUsage::getCacheMode (   $params)
See also
ApiQueryBase::getCacheMode
Parameters
array$params

◆ getExamplesMessages()

Wikibase\Client\Api\ApiPropsEntityUsage::getExamplesMessages ( )
protected

◆ getHelpUrls()

Wikibase\Client\Api\ApiPropsEntityUsage::getHelpUrls ( )

◆ setContinueFromRow()

Wikibase\Client\Api\ApiPropsEntityUsage::setContinueFromRow ( object  $row)
private

Member Data Documentation

◆ $repoLinker

Wikibase\Client\Api\ApiPropsEntityUsage::$repoLinker = null
private

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