Wikibase
MediaWiki Wikibase extension
|
Formatter for rendering GlobeCoordinateValue via the Kartographer extensions. More...
Public Member Functions | |
__construct (?FormatterOptions $options, ValueFormatter $coordinateFormatter, CachingKartographerEmbeddingHandler $cachingKartographerEmbeddingHandler, $emitPreviewHtml) | |
format ( $value) | |
Private Attributes | |
$coordinateFormatter | |
$cachingKartographerEmbeddingHandler | |
$emitPreviewHtml | |
$options | |
Formatter for rendering GlobeCoordinateValue via the Kartographer extensions.
Wikibase\Lib\Formatters\GlobeCoordinateKartographerFormatter::__construct | ( | ?FormatterOptions | $options, |
ValueFormatter | $coordinateFormatter, | ||
CachingKartographerEmbeddingHandler | $cachingKartographerEmbeddingHandler, | ||
$emitPreviewHtml | |||
) |
FormatterOptions | null | $options | |
ValueFormatter | $coordinateFormatter | |
CachingKartographerEmbeddingHandler | $cachingKartographerEmbeddingHandler | |
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 |