Formatter for rendering the details of a GlobeCoordinateValue (most useful for diffs) in HTML.
More...
|
| __construct (ValueFormatter $vocabularyUriFormatter, FormatterOptions $options=null) |
|
| format ( $value) |
|
Formatter for rendering the details of a GlobeCoordinateValue (most useful for diffs) in HTML.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::__construct |
( |
ValueFormatter |
$vocabularyUriFormatter, |
|
|
FormatterOptions |
$options = null |
|
) |
| |
- Parameters
-
ValueFormatter | $vocabularyUriFormatter | |
FormatterOptions | null | $options | |
◆ format()
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::format |
( |
|
$value | ) |
|
- See also
- ValueFormatter::format
Generates HTML representing the details of a GlobeCoordinateValue, as an itemized list.
- Parameters
-
GlobeCoordinateValue | $value | |
- Exceptions
-
- Returns
- string HTML
◆ formatGlobe()
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::formatGlobe |
( |
|
$globe | ) |
|
|
private |
- Parameters
-
- Returns
- string HTML
◆ getFieldLabel()
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::getFieldLabel |
( |
|
$fieldName | ) |
|
|
protected |
- Parameters
-
- Returns
- Message
◆ renderLabelValuePair()
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::renderLabelValuePair |
( |
|
$fieldName, |
|
|
|
$valueHtml |
|
) |
| |
|
protected |
- Parameters
-
string | $fieldName | |
string | $valueHtml | HTML |
- Returns
- string HTML for the label/value pair
◆ $coordinateFormatter
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::$coordinateFormatter |
|
protected |
◆ $options
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::$options |
|
private |
◆ $vocabularyUriFormatter
Wikibase\Lib\Formatters\GlobeCoordinateDetailsFormatter::$vocabularyUriFormatter |
|
protected |
The documentation for this class was generated from the following file: