Open Journal Systems  3.3.0
RemoveLocaleKey Class Reference
Inheritance diagram for RemoveLocaleKey:
CommandLineTool

Public Member Functions

 __construct ($argv=array())
 
 execute ()
 
 usage ()
 

Data Fields

 $dirs = ['locale', 'lib/pkp/locale']
 
 $localeKey = ''
 
- Data Fields inherited from CommandLineTool
 $argv
 
 $scriptName
 

Detailed Description

Remove a locale key from all locale files.

Definition at line 18 of file removeLocaleKey.php.

Constructor & Destructor Documentation

◆ __construct()

RemoveLocaleKey::__construct (   $argv = array())

Constructor

Reimplemented from CommandLineTool.

Definition at line 35 of file removeLocaleKey.php.

References CommandLineTool\$argv, and usage().

Member Function Documentation

◆ execute()

RemoveLocaleKey::execute ( )

Remove the requested locale key

Definition at line 66 of file removeLocaleKey.php.

◆ usage()

RemoveLocaleKey::usage ( )

Print command usage information.

Reimplemented from CommandLineTool.

Definition at line 55 of file removeLocaleKey.php.

Referenced by __construct().

Field Documentation

◆ $dirs

string RemoveLocaleKey::$dirs = ['locale', 'lib/pkp/locale']

Which files to remove the locale key from

Definition at line 30 of file removeLocaleKey.php.

◆ $localeKey

string RemoveLocaleKey::$localeKey = ''

Locale key to be removed

Definition at line 24 of file removeLocaleKey.php.


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