|
Open Journal Systems
3.3.0
|
Protected Member Functions | |
| _initXMLPSWrapper ($request) | |
Protected Member Functions inherited from Plugin | |
| _registerTemplateResource ($inCore=false) | |
Protected Attributes | |
| $_fileId = null | |
| $_jobId = null | |
| $_parentPluginName = null | |
| $_plugin = null | |
| $_stageId = null | |
| $_user = null | |
| $_xmlpsWrapper = null | |
Additional Inherited Members | |
Data Fields inherited from Plugin | |
| $pluginCategory | |
| $pluginPath | |
| $request | |
Responds to requests for markup files for particular journal article; sends request to markup an article to Document Markup Server.
Definition at line 19 of file MarkupGatewayPlugin.inc.php.
| MarkupGatewayPlugin::__construct | ( | $parentPluginName | ) |
Definition at line 63 of file MarkupGatewayPlugin.inc.php.
References PluginRegistry\getPlugin().
|
protected |
Initialize xmlps wrapper
Definition at line 75 of file MarkupGatewayPlugin.inc.php.
References Plugin\$request, and MarkupConversionHelper\getOTSWrapperInstance().
Referenced by fetch().
| MarkupGatewayPlugin::_process | ( | $submissionFile, | |
| $fileStage, | |||
| $target | |||
| ) |
Takes care of document markup conversion
| $submissionFile | mixed SubmissionFile |
| $fileStage | int Submission stage ID |
| $target | string Job target (xml-conversion or galley-generate) |
Definition at line 292 of file MarkupGatewayPlugin.inc.php.
References DAORegistry\getDAO(), and Plugin\getRequest().
Referenced by fetch().
| MarkupGatewayPlugin::fetch | ( | $args, | |
| $request | |||
| ) |
Handles URL requests to trigger document markup processing for given submission;
Accepted parameters: fileId/[int],
| $args | Array of url arguments |
Reimplemented from GatewayPlugin.
Definition at line 199 of file MarkupGatewayPlugin.inc.php.
References Plugin\$request, _initXMLPSWrapper(), _process(), fatalError(), DAORegistry\getDAO(), getEnabled(), Plugin\getRequest(), and MarkupConversionHelper\validateAccessToken().
| MarkupGatewayPlugin::getCssPath | ( | ) |
Overwrite the JS path with the parent's JS path
Definition at line 155 of file MarkupGatewayPlugin.inc.php.
References getMarkupPlugin().
| MarkupGatewayPlugin::getDescription | ( | ) |
Get plugin description
Reimplemented from Plugin.
Definition at line 117 of file MarkupGatewayPlugin.inc.php.
| MarkupGatewayPlugin::getDisplayName | ( | ) |
Get plugin display name
Reimplemented from Plugin.
Definition at line 108 of file MarkupGatewayPlugin.inc.php.
| MarkupGatewayPlugin::getEnabled | ( | ) |
Get whether or not this plugin is enabled. (Should always return true, as the parent plugin will take care of loading this one when needed)
Reimplemented from GatewayPlugin.
Definition at line 175 of file MarkupGatewayPlugin.inc.php.
References getMarkupPlugin().
Referenced by fetch().
| MarkupGatewayPlugin::getHideManagement | ( | ) |
Hide this plugin from the management interface
Reimplemented from Plugin.
Definition at line 89 of file MarkupGatewayPlugin.inc.php.
| MarkupGatewayPlugin::getJsPath | ( | ) |
Overwrite the JS path with the parent's JS path
Definition at line 165 of file MarkupGatewayPlugin.inc.php.
References getMarkupPlugin().
| MarkupGatewayPlugin::getManagementVerbs | ( | ) |
Get the management verbs for this plugin (override to none so that the parent plugin can handle this)
Definition at line 185 of file MarkupGatewayPlugin.inc.php.
| & MarkupGatewayPlugin::getMarkupPlugin | ( | ) |
Get the parent plugin
Definition at line 126 of file MarkupGatewayPlugin.inc.php.
References $_plugin.
Referenced by getCssPath(), getEnabled(), getJsPath(), getPluginPath(), and getTemplatePath().
| MarkupGatewayPlugin::getName | ( | ) |
Get the name of this plugin. The name must be unique within its category.
Reimplemented from Plugin.
Definition at line 99 of file MarkupGatewayPlugin.inc.php.
| MarkupGatewayPlugin::getPluginPath | ( | ) |
Overwrite plugin path with parent's plugin path
Reimplemented from Plugin.
Definition at line 135 of file MarkupGatewayPlugin.inc.php.
References getMarkupPlugin().
| MarkupGatewayPlugin::getTemplatePath | ( | ) |
Overwrite the template path with the parent's template path
Definition at line 145 of file MarkupGatewayPlugin.inc.php.
References getMarkupPlugin().
|
protected |
int submission file id
Definition at line 49 of file MarkupGatewayPlugin.inc.php.
|
protected |
string job identifier
Definition at line 61 of file MarkupGatewayPlugin.inc.php.
|
protected |
string Name of parent plugin
Definition at line 25 of file MarkupGatewayPlugin.inc.php.
|
protected |
MarkupPlugin Reference to markup plugin
Definition at line 37 of file MarkupGatewayPlugin.inc.php.
Referenced by getMarkupPlugin().
|
protected |
int submission stage
Definition at line 55 of file MarkupGatewayPlugin.inc.php.
|
protected |
User user object
Definition at line 31 of file MarkupGatewayPlugin.inc.php.
|
protected |
XMLPSWrapper Reference to wrapper class for OTS Service
Definition at line 43 of file MarkupGatewayPlugin.inc.php.