|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($argv=array()) | |
| execute () | |
| usage () | |
Protected Member Functions | |
| initProperties () | |
| processAll () | |
| processList () | |
| processOne ($context) | |
| processPrint () | |
Protected Attributes | |
| $_context = null | |
| $_markupBatchConversionHelper = null | |
| $_markupConversionHelper = null | |
| $_markupPlugin = null | |
| $_otsWrapper = null | |
| $_parameters = null | |
| $_user = null | |
Additional Inherited Members | |
Data Fields inherited from CommandLineTool | |
| $argv | |
| $scriptName | |
Handles request for articles batch conversion.
CLI tool to perform batch conversion tasks
| BatchConversionTool::__construct | ( | $argv = array() | ) |
Constructor
| array | $argv |
Reimplemented from CommandLineTool.
Definition at line 68 of file batch.php.
References CommandLineTool\$argv, DAORegistry\registerDAO(), and usage().
| BatchConversionTool::execute | ( | ) |
Execute batch conversion task
Definition at line 122 of file batch.php.
References DAORegistry\getDAO(), processAll(), processList(), processOne(), processPrint(), and usage().
|
protected |
Initializes object properties (ps: Make sure $context proprerty is set before calling this method)
Definition at line 91 of file batch.php.
References MarkupConversionHelper\getOTSWrapperInstance().
Referenced by processOne().
|
protected |
Batch convert all enabled journals
Definition at line 174 of file batch.php.
References DAORegistry\getDAO(), and processOne().
Referenced by execute().
|
protected |
Batch convert a comma separated list of enabled journals
Definition at line 185 of file batch.php.
References DAORegistry\getDAO(), processOne(), and usage().
Referenced by execute().
|
protected |
Batch convert a specific journal enabled
| $context | Context|null |
| Exception |
Definition at line 205 of file batch.php.
References $_otsWrapper, MarkupConversionHelper\createConversionJobInfo(), DAORegistry\getDAO(), initProperties(), and usage().
Referenced by execute(), processAll(), and processList().
|
protected |
Prints the list of all enabled journals
Definition at line 162 of file batch.php.
References DAORegistry\getDAO().
Referenced by execute().
| BatchConversionTool::usage | ( | ) |
Print command usage information
Reimplemented from CommandLineTool.
Definition at line 111 of file batch.php.
Referenced by __construct(), execute(), processList(), and processOne().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |