Class for the 'geodistance' parser hooks, which can calculate the geographical distance between two points.
GNU GPL v2+
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
◆ getDefaultParameters()
Maps\MediaWiki\ParserHooks\GeoDistanceFunction::getDefaultParameters |
( |
|
$type | ) |
|
|
protected |
Returns the list of default parameters.
- See also
- ParserHook::getDefaultParameters
- Parameters
-
- Returns
- array
◆ getMessage()
Maps\MediaWiki\ParserHooks\GeoDistanceFunction::getMessage |
( |
| ) |
|
- See also
- ParserHook::getMessage
◆ getName()
Maps\MediaWiki\ParserHooks\GeoDistanceFunction::getName |
( |
| ) |
|
|
protected |
Gets the name of the parser hook.
- See also
- ParserHook::getName
- Returns
- string
◆ getParameterInfo()
Maps\MediaWiki\ParserHooks\GeoDistanceFunction::getParameterInfo |
( |
|
$type | ) |
|
|
protected |
Returns an array containing the parameter info.
- See also
- ParserHook::getParameterInfo
- Returns
- array
◆ render()
Maps\MediaWiki\ParserHooks\GeoDistanceFunction::render |
( |
array |
$parameters | ) |
|
Renders and returns the output.
- See also
- ParserHook::render
- Parameters
-
- Returns
- string
- Exceptions
-
The documentation for this class was generated from the following file: