SimpleFormatWriter Class Reference

Example implementation of old-style file format writer. More...

Inheritance diagram for SimpleFormatWriter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct (MessageGroup $group)
 addAuthors (array $authors, $code)
 load ($code)
 fileExport (array $languages, $targetDirectory)
 webExport (MessageCollection $collection)
 filterAuthors (array $authors, $code, $groupId)

Public Attributes

const SEPARATOR = '----'
const AUTHORPREFIX = 'Author: '

Protected Member Functions

 getMessagesForExport (MessageGroup $group, $code)
 exportLanguage ($target, MessageCollection $collection)
 makeHeader ($handle, $code)
 formatAuthors ($prefix, $code)
 exportStaticHeader ($target)
 exportMessages ($handle, MessageCollection $collection)
 getLanguageNames ($code)

Protected Attributes

 $group
 $authors
 $staticHeader

Detailed Description

Example implementation of old-style file format writer.

See also:
FFS

Definition at line 125 of file Simple.php.


Constructor & Destructor Documentation

SimpleFormatWriter::__construct ( MessageGroup group  ) 

Definition at line 135 of file Simple.php.


Member Function Documentation

SimpleFormatWriter::addAuthors ( array $  authors,
code 
)

Definition at line 139 of file Simple.php.

Referenced by getMessagesForExport(), load(), and webExport().

SimpleFormatWriter::exportLanguage ( target,
MessageCollection collection 
) [protected]

Definition at line 219 of file Simple.php.

Referenced by fileExport(), and webExport().

Here is the call graph for this function:

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

Reimplemented in WikiFormatWriter.

Definition at line 293 of file Simple.php.

Referenced by exportLanguage().

SimpleFormatWriter::exportStaticHeader ( target  )  [protected]

Reimplemented in WikiFormatWriter.

Definition at line 287 of file Simple.php.

Referenced by exportLanguage().

SimpleFormatWriter::fileExport ( array $  languages,
targetDirectory 
)

Definition at line 165 of file Simple.php.

Here is the call graph for this function:

SimpleFormatWriter::filterAuthors ( array $  authors,
code,
groupId 
)

Definition at line 235 of file Simple.php.

Referenced by formatAuthors().

SimpleFormatWriter::formatAuthors ( prefix,
code 
) [protected]

Definition at line 263 of file Simple.php.

Referenced by makeHeader().

Here is the call graph for this function:

SimpleFormatWriter::getLanguageNames ( code  )  [protected]

Definition at line 303 of file Simple.php.

Here is the call graph for this function:

SimpleFormatWriter::getMessagesForExport ( MessageGroup group,
code 
) [protected]

Definition at line 209 of file Simple.php.

Referenced by fileExport().

Here is the call graph for this function:

SimpleFormatWriter::load ( code  ) 

Definition at line 156 of file Simple.php.

Referenced by exportLanguage().

Here is the call graph for this function:

SimpleFormatWriter::makeHeader ( handle,
code 
) [protected]

Definition at line 227 of file Simple.php.

Referenced by exportLanguage().

Here is the call graph for this function:

SimpleFormatWriter::webExport ( MessageCollection collection  ) 

Definition at line 192 of file Simple.php.

Here is the call graph for this function:


Member Data Documentation

SimpleFormatWriter::$authors [protected]

Definition at line 133 of file Simple.php.

Referenced by formatAuthors().

SimpleFormatWriter::$group [protected]

Definition at line 130 of file Simple.php.

SimpleFormatWriter::$staticHeader [protected]

Definition at line 133 of file Simple.php.

Definition at line 127 of file Simple.php.

Definition at line 126 of file Simple.php.


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