◆ addGeoCoordsDefaultFormat()
static Maps\MediaWiki\SemanticMapsHooks::addGeoCoordsDefaultFormat |
( |
& |
$format, |
|
|
array |
$printRequests |
|
) |
| |
|
static |
Set the default format to 'map' when the requested properties are of type geographic coordinates.
TODO: have a setting to turn this off and have it off by default for #show
- Since
- 1.0
- Parameters
-
$format | Mixed: The format (string), or false when not set yet |
SMWPrintRequest[] | $printRequests The print requests made |
- Returns
- boolean
◆ addToAdminLinks()
static Maps\MediaWiki\SemanticMapsHooks::addToAdminLinks |
( |
ALTree & |
$admin_links_tree | ) |
|
|
static |
Adds a link to Admin Links page.
- Since
- 0.7
- Parameters
-
- Returns
- boolean
◆ initGeoDataTypes()
static Maps\MediaWiki\SemanticMapsHooks::initGeoDataTypes |
( |
| ) |
|
|
static |
Adds support for the geographical coordinates and shapes data type to Semantic MediaWiki.
- Since
- 2.0
- Returns
- boolean
The documentation for this class was generated from the following file: