Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | List of all members
Maps\Presentation\WikitextParsers\LocationParser Class Reference
Inheritance diagram for Maps\Presentation\WikitextParsers\LocationParser:
Inheritance graph
[legend]
Collaboration diagram for Maps\Presentation\WikitextParsers\LocationParser:
Collaboration graph
[legend]

Public Member Functions

 __construct ( $enableLegacyCrud=true)
 
 parse ( $value)
 

Static Public Member Functions

static newInstance (Geocoder $geocoder, FileUrlFinder $fileUrlFinder, bool $useAddressAsTitle=false)
 

Detailed Description

ValueParser that parses the string representation of a location.

Since
3.0

GNU GPL v2+

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

Constructor & Destructor Documentation

◆ __construct()

Maps\Presentation\WikitextParsers\LocationParser::__construct (   $enableLegacyCrud = true)
Deprecated:
Use newInstance instead

Member Function Documentation

◆ parse()

Maps\Presentation\WikitextParsers\LocationParser::parse (   $value)
See also
StringValueParser::stringParse
Since
3.0
Parameters
string$value
Returns
Location
Exceptions
ParseException

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

About | General disclaimer | Privacy policy