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

Public Member Functions

 __construct ( $fileFetcher=null, PageContentFetcher $pageContentFetcher=null)
 
 parse ( $fileLocation)
 

Detailed Description

Returns the content of the JSON file at the specified location as array. Empty array is returned on failure.

GNU GPL v2+

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

Member Function Documentation

◆ parse()

Maps\DataAccess\JsonFileParser::parse (   $fileLocation)
Parameters
string$fileLocation
Returns
array
Exceptions
ParseException

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

About | General disclaimer | Privacy policy