|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($argv=array()) | |
| execute () | |
| usage () | |
Static Public Member Functions | |
| static | parseEmailFile ($filename, &$locale) |
Protected Attributes | |
| $poFile | |
| $sourceXmlFile | |
Additional Inherited Members | |
Data Fields inherited from CommandLineTool | |
| $argv | |
| $scriptName | |
Definition at line 16 of file xmlEmailsToPo.php.
| xmlEmailsToPo::__construct | ( | $argv = array() | ) |
Constructor
Reimplemented from CommandLineTool.
Definition at line 32 of file xmlEmailsToPo.php.
References CommandLineTool\$argv, and usage().
| xmlEmailsToPo::execute | ( | ) |
Convert an XML locale file to a PO file.
Definition at line 92 of file xmlEmailsToPo.php.
References parseEmailFile().
|
static |
Parse a locale file into an array.
| $filename | string Filename to locale file |
Definition at line 64 of file xmlEmailsToPo.php.
Referenced by execute().
| xmlEmailsToPo::usage | ( | ) |
Print command usage information.
Reimplemented from CommandLineTool.
Definition at line 54 of file xmlEmailsToPo.php.
Referenced by __construct().
|
protected |
Name of target PO file
Definition at line 27 of file xmlEmailsToPo.php.
|
protected |
Name of source XML email file
Definition at line 21 of file xmlEmailsToPo.php.