Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter Class Reference
+ Inheritance diagram for Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter:
+ Collaboration diagram for Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter:

Public Member Functions

 __construct (ValueFormatter $globeCoordinateFormatter)
 
 format ( $value)
 

Private Member Functions

 formatEarthCoordinate (GlobeCoordinateValue $value)
 

Private Attributes

 $coordinateFormatter
 

Detailed Description

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter::__construct ( ValueFormatter  $globeCoordinateFormatter)
Parameters
ValueFormatter$globeCoordinateFormatter

Member Function Documentation

◆ format()

Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter::format (   $value)
See also
ValueFormatter::format
Parameters
GlobeCoordinateValue$value
Exceptions
InvalidArgumentException
Returns
string Wikitext

◆ formatEarthCoordinate()

Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter::formatEarthCoordinate ( GlobeCoordinateValue  $value)
private

Member Data Documentation

◆ $coordinateFormatter

Wikibase\Lib\Formatters\GlobeCoordinateInlineWikitextKartographerFormatter::$coordinateFormatter
private

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