MediaWiki REL1_30
|
Reads MediaWiki JSON i18n files. More...
Public Member Functions | |
__construct ( $code=null) | |
parse ( $contents) | |
Returns a list of messages indexed by language code. | |
Protected Attributes | |
$code | |
Reads MediaWiki JSON i18n files.
Definition at line 13 of file JSONReader.php.
LocalisationUpdate\JSONReader::__construct | ( | $code = null | ) |
Definition at line 17 of file JSONReader.php.
References $code.
LocalisationUpdate\JSONReader::parse | ( | $contents | ) |
Returns a list of messages indexed by language code.
Example array( 'en' => array( 'key' => 'value' ) );
string | $contents | File contents as a string. |
Implements LocalisationUpdate\Reader.
Definition at line 21 of file JSONReader.php.
References $messages.
|
protected |
Definition at line 15 of file JSONReader.php.