Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | List of all members
Maps\MediaWiki\ParserHooks\DisplayMapFunction Class Reference

Public Member Functions

 __construct (MappingServices $services)
 
 getMapHtmlForKeyValueStrings (Parser $parser, array $parameters)
 
 getMapHtmlForParameterList (Parser $parser, array $parameters)
 

Static Public Member Functions

static getDefaultParameters ()
 

Detailed Description

Class for the 'display_map' parser hooks.

GNU GPL v2+

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

Member Function Documentation

◆ getMapHtmlForKeyValueStrings()

Maps\MediaWiki\ParserHooks\DisplayMapFunction::getMapHtmlForKeyValueStrings ( Parser  $parser,
array  $parameters 
)
Parameters
Parser$parser
string[]$parameters Values of the array can be named parameters ("key=value") or unnamed. They are not normalized, so can be "key = value "
Returns
string
Exceptions
MWException

◆ getMapHtmlForParameterList()

Maps\MediaWiki\ParserHooks\DisplayMapFunction::getMapHtmlForParameterList ( Parser  $parser,
array  $parameters 
)
Parameters
Parser$parser
string[]$parameters Key value list of parameters. Unnamed parameters have numeric keys. Both keys and values have not been normalized.
Returns
string
Exceptions
MWException

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

About | General disclaimer | Privacy policy