MediaWiki REL1_31
LocalisationUpdate\JSONReader Class Reference

Reads MediaWiki JSON i18n files. More...

Inheritance diagram for LocalisationUpdate\JSONReader:
Collaboration diagram for LocalisationUpdate\JSONReader:

Public Member Functions

 __construct ( $code=null)
 
 parse ( $contents)
 

Protected Attributes

 $code
 

Detailed Description

Reads MediaWiki JSON i18n files.

Definition at line 13 of file JSONReader.php.

Constructor & Destructor Documentation

◆ __construct()

LocalisationUpdate\JSONReader::__construct ( $code = null)

Definition at line 17 of file JSONReader.php.

References $code.

Member Function Documentation

◆ parse()

LocalisationUpdate\JSONReader::parse ( $contents)
Parameters
string$contents
Returns
array

Implements LocalisationUpdate\Reader.

Definition at line 26 of file JSONReader.php.

References $messages.

Member Data Documentation

◆ $code

LocalisationUpdate\JSONReader::$code
protected

Definition at line 15 of file JSONReader.php.


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