genTestLocale Class Reference
[Tools]

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

Inheritance diagram for genTestLocale:

CommandLineTool

List of all members.

Public Member Functions

 execute ()
 fancifyString ($str)
 genTestLocale ($argv=array())


Detailed Description

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

Definition at line 26 of file genTestLocale.php.


Member Function Documentation

genTestLocale.execute (  ) 

Create the test locale file.

Definition at line 77 of file genTestLocale.php.

References fancifyString(), Locale.getLocaleFiles(), Locale.initialize(), and LocaleFile.load().

genTestLocale.fancifyString ( str  ) 

Perform message string munging.

Parameters:
$str string
Returns:
string

Definition at line 131 of file genTestLocale.php.

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 37 of file genTestLocale.php.

References CommandLineTool.$argv.


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:42 2008 for Open Journal Systems by  doxygen 1.5.6