WikiFormatWriter Class Reference

Old-style writer for MediaWiki i18n format (one file per language). More...

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

List of all members.

Public Member Functions

 makeExportArray (MessageCollection $messages)
 Preprocesses MessageArray to suitable format and filters things that should not be exported.

Static Public Member Functions

static quote ($value)

Public Attributes

 $commaToArray = false

Protected Member Functions

 exportStaticHeader ($target)
 exportMessages ($handle, MessageCollection $collection)
 writeMessagesBlockComment ($handle, $blockComment)
 writeMessagesBlock ($handle, $messages, $prefix= '')
 exportItemPad ($handle, $key, $value, $pad=0)

Detailed Description

Old-style writer for MediaWiki i18n format (one file per language).

Definition at line 82 of file Wiki.php.


Member Function Documentation

WikiFormatWriter::exportItemPad ( handle,
key,
value,
pad = 0 
) [protected]

Definition at line 203 of file Wiki.php.

Referenced by writeMessagesBlock().

WikiFormatWriter::exportMessages ( handle,
MessageCollection collection 
) [protected]

Reimplemented from SimpleFormatWriter.

Definition at line 111 of file Wiki.php.

Here is the call graph for this function:

WikiFormatWriter::exportStaticHeader ( target  )  [protected]

Reimplemented from SimpleFormatWriter.

Definition at line 105 of file Wiki.php.

WikiFormatWriter::makeExportArray ( MessageCollection messages  ) 

Preprocesses MessageArray to suitable format and filters things that should not be exported.

Parameters:
$messages MessageCollection Reference of MessageArray.
Returns:
Array of key-translation pairs.

Definition at line 165 of file Wiki.php.

Referenced by exportMessages().

static WikiFormatWriter::quote ( value  )  [static]

Definition at line 226 of file Wiki.php.

WikiFormatWriter::writeMessagesBlock ( handle,
messages,
prefix = '' 
) [protected]

Definition at line 191 of file Wiki.php.

Referenced by exportMessages().

Here is the call graph for this function:

WikiFormatWriter::writeMessagesBlockComment ( handle,
blockComment 
) [protected]

Definition at line 180 of file Wiki.php.

Referenced by exportMessages().


Member Data Documentation

WikiFormatWriter::$commaToArray = false

Definition at line 83 of file Wiki.php.


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