Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
__construct (EntityIdFormatterFactory $inner) | |
getOutputFormat () | |
Returns the formatter's output format, as defined by the SnakFormatter::FORMAT_XXX constants. More... | |
getEntityIdFormatter (Language $language) | |
Private Attributes | |
$inner | |
Wikibase\Repo\FederatedProperties\WrappingEntityIdFormatterFactory::__construct | ( | EntityIdFormatterFactory | $inner | ) |
Wikibase\Repo\FederatedProperties\WrappingEntityIdFormatterFactory::getEntityIdFormatter | ( | Language | $language | ) |
Language | $language |
Implements Wikibase\View\EntityIdFormatterFactory.
Wikibase\Repo\FederatedProperties\WrappingEntityIdFormatterFactory::getOutputFormat | ( | ) |
Returns the formatter's output format, as defined by the SnakFormatter::FORMAT_XXX constants.
This allows callers to assert that the formatter returned by getEntityIdFormatter() will generate text in the desired format, applying the appropriate escaping.
Implements Wikibase\View\EntityIdFormatterFactory.
|
private |