genTestLocale Class Reference

CLI tool to generate a test locale file by munging the message strings of a real locale file. More...

List of all members.

Public Member Functions

 execute ()
 fancifyString ($str)
 generateLocaleFile ($localeFile, $localeFilePath, $outFile)
 genTestLocale ($argv=array())

Public Attributes

 $inLocale
 $outLocale


Detailed Description

CLI tool to generate a test locale file by munging the message strings of a real locale file.

Definition at line 25 of file genTestLocale.php.


Member Function Documentation

genTestLocale.execute (  ) 

Create the test locale file.

Definition at line 76 of file genTestLocale.php.

References generateLocaleFile(), and AppLocale.makeComponentMap().

genTestLocale.fancifyString ( str  ) 

Perform message string munging.

Parameters:
$str string
Returns:
string

Definition at line 154 of file genTestLocale.php.

Referenced by generateLocaleFile().

genTestLocale.generateLocaleFile ( localeFile,
localeFilePath,
outFile 
)

Perform message string munging.

Parameters:
$localeFile string
$localeFilePath string
$outFile string

Definition at line 93 of file genTestLocale.php.

References fancifyString().

Referenced by execute().

genTestLocale.genTestLocale ( argv = array()  ) 

Constructor.

Parameters:
$argv array command-line arguments If specified, the first parameter should be the input locale (default "en_US") and the second parameter the output locale (default "te_ST")

Definition at line 36 of file genTestLocale.php.


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7