Wikibase
MediaWiki Wikibase extension
|
Formatter for rendering GlobeCoordinateValue via the Kartographer extensions. More...
Public Member Functions | |
__construct (?FormatterOptions $options, ValueFormatter $coordinateFormatter, CachingKartographerEmbeddingHandler $cachingKartographerEmbeddingHandler, LanguageFactory $languageFactory, $emitPreviewHtml) | |
format ( $value) | |
Private Attributes | |
$coordinateFormatter | |
$cachingKartographerEmbeddingHandler | |
$emitPreviewHtml | |
$options | |
$languageFactory | |
Formatter for rendering GlobeCoordinateValue via the Kartographer extensions.
Wikibase\Lib\Formatters\GlobeCoordinateKartographerFormatter::__construct | ( | ?FormatterOptions | $options, |
ValueFormatter | $coordinateFormatter, | ||
CachingKartographerEmbeddingHandler | $cachingKartographerEmbeddingHandler, | ||
LanguageFactory | $languageFactory, | ||
$emitPreviewHtml ) |
FormatterOptions | null | $options | |
ValueFormatter | $coordinateFormatter | |
CachingKartographerEmbeddingHandler | $cachingKartographerEmbeddingHandler | |
LanguageFactory | $languageFactory | |
bool | $emitPreviewHtml | Whether to emit HTML that can be used for live previews |
Wikibase\Lib\Formatters\GlobeCoordinateKartographerFormatter::format | ( | $value | ) |
Generates HTML representing the details of a GlobeCoordinateValue, as an itemized list.
GlobeCoordinateValue | $value |
InvalidArgumentException |
|
private |
|
private |
|
private |
|
private |
|
private |