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

Public Member Functions

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

Data Fields

 $_emailKey
 
 $_locales
 
- Data Fields inherited from CommandLineTool
 $argv
 
 $scriptName
 

Detailed Description

Definition at line 20 of file installEmailTemplate.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
$argvarray command-line arguments

Reimplemented from CommandLineTool.

Definition at line 37 of file installEmailTemplate.php.

References CommandLineTool\$argv, and usage().

Member Function Documentation

◆ execute()

installEmailTemplates::execute ( )

Execute upgrade task

Definition at line 63 of file installEmailTemplate.php.

References DAORegistry\getDAO(), and AppLocale\requireComponents().

◆ usage()

installEmailTemplates::usage ( )

Print command usage information.

Reimplemented from CommandLineTool.

Definition at line 52 of file installEmailTemplate.php.

Referenced by __construct().

Field Documentation

◆ $_emailKey

string installEmailTemplates::$_emailKey

The email key of the email template to install.

Definition at line 25 of file installEmailTemplate.php.

◆ $_locales

string installEmailTemplates::$_locales

The list of locales in which to install the template.

Definition at line 31 of file installEmailTemplate.php.


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