Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Maps\MediaWiki\ParserHooks\MapsDocFunction Class Reference
Inheritance diagram for Maps\MediaWiki\ParserHooks\MapsDocFunction:
Inheritance graph
[legend]
Collaboration diagram for Maps\MediaWiki\ParserHooks\MapsDocFunction:
Collaboration graph
[legend]

Public Member Functions

 render (array $parameters)
 
 getMessage ()
 

Protected Member Functions

 getName ()
 
 getParameterInfo ( $type)
 
 getDefaultParameters ( $type)
 

Protected Attributes

 $language
 

Detailed Description

Class for the 'mapsdoc' parser hooks, which displays documentation for a specified mapping service.

GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ getDefaultParameters()

Maps\MediaWiki\ParserHooks\MapsDocFunction::getDefaultParameters (   $type)
protected

Returns the list of default parameters.

See also
ParserHook::getDefaultParameters
Returns
array

◆ getMessage()

Maps\MediaWiki\ParserHooks\MapsDocFunction::getMessage ( )
See also
ParserHook::getDescription()

◆ getName()

Maps\MediaWiki\ParserHooks\MapsDocFunction::getName ( )
protected

Gets the name of the parser hook.

See also
ParserHook::getName
Returns
string

◆ getParameterInfo()

Maps\MediaWiki\ParserHooks\MapsDocFunction::getParameterInfo (   $type)
protected

Returns an array containing the parameter info.

See also
ParserHook::getParameterInfo
Returns
array

◆ render()

Maps\MediaWiki\ParserHooks\MapsDocFunction::render ( array  $parameters)

Renders and returns the output.

See also
ParserHook::render
Parameters
array$parameters
Returns
string

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

About | General disclaimer | Privacy policy