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

Public Member Functions

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

Data Fields

 $command
 
 $parameters
 
 $plugin
 
- Data Fields inherited from CommandLineTool
 $argv
 
 $scriptName
 

Detailed Description

CLI tool to perform import/export tasks.

Definition at line 18 of file importExport.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
$argvarray command-line arguments (see usage)

Reimplemented from CommandLineTool.

Definition at line 28 of file importExport.php.

References CommandLineTool\$argv.

Member Function Documentation

◆ execute()

importExport::execute ( )

Parse and execute the import/export task.

Definition at line 48 of file importExport.php.

References $plugin, PluginRegistry\getPlugin(), PluginRegistry\loadCategory(), and usage().

◆ usage()

importExport::usage ( )

Print command usage information.

Reimplemented from CommandLineTool.

Definition at line 37 of file importExport.php.

Referenced by execute().

Field Documentation

◆ $command

importExport::$command

Definition at line 20 of file importExport.php.

◆ $parameters

importExport::$parameters

Definition at line 22 of file importExport.php.

◆ $plugin

importExport::$plugin

Definition at line 21 of file importExport.php.

Referenced by execute().


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