Open Journal Systems  3.3.0
OJSInstallTool Class Reference
Inheritance diagram for OJSInstallTool:
InstallTool CommandLineTool

Public Member Functions

 __construct ($argv=array())
 
 readParams ()
 
- Public Member Functions inherited from InstallTool
 execute ()
 
 install ()
 
 log ($message)
 
 printTitle ($title)
 
 readInput ()
 
 readParam ($name, $prompt, $defaultValue=null)
 
 readParamBoolean ($name, $prompt, $default='N')
 
 readParamOptions ($name, $prompt, $options, $defaultValue=null, $allowMultiple=false)
 
 usage ()
 

Additional Inherited Members

- Data Fields inherited from InstallTool
 $params
 
- Data Fields inherited from CommandLineTool
 $argv
 
 $scriptName
 

Detailed Description

Definition at line 20 of file install.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
$argvarray command-line arguments

Reimplemented from InstallTool.

Definition at line 25 of file install.php.

References CommandLineTool\$argv.

Member Function Documentation

◆ readParams()

OJSInstallTool::readParams ( )

Read installation parameters from stdin. FIXME: May want to implement an abstract "CLIForm" class handling input/validation. FIXME: Use readline if available?

Reimplemented from InstallTool.

Definition at line 34 of file install.php.

References InstallTool\readParamBoolean(), and AppLocale\requireComponents().


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