Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Api\ApiFormatReference Class Reference

An API module to format a serialized Wikibase reference into a human-readable text block. More...

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

Public Member Functions

 __construct (ApiMain $mainModule, string $moduleName, Parser $parser, ReferenceFormatterFactory $referenceFormatterFactory, Deserializer $referenceDeserializer)
 
 isInternal ()
 
 getAllowedParams ()
 

Protected Member Functions

 getExamplesMessages ()
 

Private Attributes

 $parser
 
 $referenceFormatterFactory
 
 $referenceDeserializer
 

Detailed Description

An API module to format a serialized Wikibase reference into a human-readable text block.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Api\ApiFormatReference::__construct ( ApiMain  $mainModule,
string  $moduleName,
Parser  $parser,
ReferenceFormatterFactory  $referenceFormatterFactory,
Deserializer  $referenceDeserializer 
)

Member Function Documentation

◆ getAllowedParams()

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

◆ getExamplesMessages()

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

◆ isInternal()

Wikibase\Client\Api\ApiFormatReference::isInternal ( )

Member Data Documentation

◆ $parser

Wikibase\Client\Api\ApiFormatReference::$parser
private

◆ $referenceDeserializer

Wikibase\Client\Api\ApiFormatReference::$referenceDeserializer
private

◆ $referenceFormatterFactory

Wikibase\Client\Api\ApiFormatReference::$referenceFormatterFactory
private

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