IniFFS Class Reference
[File format support]

IniFFS currently parses and generates flat ini files with language code as header key. More...

Inheritance diagram for IniFFS:
Inheritance graph
[legend]
Collaboration diagram for IniFFS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 supportsFuzzy ()
 Query the capabilities of this FFS.
 getFileExtensions ()
 Return the commonly used file extensions for these formats.
 readFromVariable ($data)
 Parse the message data given as a string in the SimpleFFS format and return it as an array of AUTHORS and MESSAGES.

Detailed Description

IniFFS currently parses and generates flat ini files with language code as header key.

Since:
2012-11-19

Definition at line 18 of file IniFFS.php.


Member Function Documentation

IniFFS::getFileExtensions (  ) 

Return the commonly used file extensions for these formats.

Include the dot.

Returns:
string[]
Since:
2013-04

Reimplemented from SimpleFFS.

Definition at line 38 of file IniFFS.php.

IniFFS::readFromVariable ( data  ) 

Parse the message data given as a string in the SimpleFFS format and return it as an array of AUTHORS and MESSAGES.

Parameters:
$data string
Returns:
array
Exceptions:
MWException 

Reimplemented from SimpleFFS.

Definition at line 42 of file IniFFS.php.

IniFFS::supportsFuzzy (  ) 

Query the capabilities of this FFS.

Allowed values are:

  • yes
  • write (ignored on read)
  • no (stripped on write)
    Returns:
    string
    Since:
    2013-03-05

Reimplemented from SimpleFFS.

Definition at line 34 of file IniFFS.php.


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:46 2013 for MediaWiki Translate Extension by  doxygen 1.6.3