MapsParserFunctions Class Reference

List of all members.

Static Public Member Functions

static displayPointRender (&$parser)
 Sets the default map properties, gets the map HTML depending on the provided service, and then returns it.
static displayPointsRender (&$parser)
 Sets the default map properties, gets the map HTML depending on the provided service, and then returns it.
static displayAddressRender (&$parser)
 Turns the address parameter into coordinates, then lets.
static displayAddressesRender (&$parser)
 Turns the address parameter into coordinates, then lets.

Static Private Member Functions

static changeAddressToCoords (&$params)
 Changes the values of the address or addresses parameter into coordinates in the provided array.


Detailed Description

Definition at line 17 of file Maps_ParserFunctions.php.


Member Function Documentation

static MapsParserFunctions::displayPointRender ( &$  parser  )  [static]

Sets the default map properties, gets the map HTML depending on the provided service, and then returns it.

Parameters:
unknown_type $parser
Returns:
array

Definition at line 26 of file Maps_ParserFunctions.php.

References $egMapsServices, and MapsMapper::getValidService().

static MapsParserFunctions::displayPointsRender ( &$  parser  )  [static]

Sets the default map properties, gets the map HTML depending on the provided service, and then returns it.

Parameters:
unknown_type $parser

Definition at line 66 of file Maps_ParserFunctions.php.

static MapsParserFunctions::displayAddressRender ( &$  parser  )  [static]

Turns the address parameter into coordinates, then lets.

See also:
MapsMapper::displayPointRender() do the work and returns it.
Parameters:
unknown_type $parser
Returns:
array

Definition at line 82 of file Maps_ParserFunctions.php.

static MapsParserFunctions::displayAddressesRender ( &$  parser  )  [static]

Turns the address parameter into coordinates, then lets.

See also:
MapsMapper::displayPointRender() do the work and returns it.
Parameters:
unknown_type $parser

Definition at line 97 of file Maps_ParserFunctions.php.

static MapsParserFunctions::changeAddressToCoords ( &$  params  )  [static, private]

Changes the values of the address or addresses parameter into coordinates in the provided array.

Parameters:
array $params

Definition at line 112 of file Maps_ParserFunctions.php.

References $egMapsDefaultService, MapsMapper::getValidService(), and MapsGeocoder::renderGeocoder().


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

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6