|
Open Journal Systems
3.3.0
|
Protected Attributes | |
| $_parentPlugin = null | |
Additional Inherited Members | |
Data Fields inherited from ImportExportPlugin | |
| $_request | |
Data Fields inherited from Plugin | |
| $pluginCategory | |
| $pluginPath | |
| $request | |
Protected Member Functions inherited from Plugin | |
| _registerTemplateResource ($inCore=false) | |
Sword deposit plugin.
Definition at line 16 of file SwordImportExportPlugin.inc.php.
| SwordImportExportPlugin::__construct | ( | $parentPlugin | ) |
Constructor
| $parentPlugin | SwordPlugin |
Definition at line 28 of file SwordImportExportPlugin.inc.php.
| SwordImportExportPlugin::display | ( | $args, | |
| $request | |||
| ) |
Display the plugin.
| $args | array |
| $request | PKPRequest |
Reimplemented from ImportExportPlugin.
Definition at line 88 of file SwordImportExportPlugin.inc.php.
References Plugin\$request, DAORegistry\getDAO(), PKPTemplateManager\getManager(), getName(), Application\getSubmissionDAO(), getSwordPlugin(), and Plugin\getTemplateResource().
| SwordImportExportPlugin::executeCLI | ( | $scriptName, | |
| & | $args | ||
| ) |
Reimplemented from ImportExportPlugin.
Definition at line 271 of file SwordImportExportPlugin.inc.php.
| SwordImportExportPlugin::getDescription | ( | ) |
Get the display description.
Reimplemented from Plugin.
Definition at line 78 of file SwordImportExportPlugin.inc.php.
| SwordImportExportPlugin::getDisplayName | ( | ) |
Get the display name.
Reimplemented from Plugin.
Definition at line 70 of file SwordImportExportPlugin.inc.php.
| SwordImportExportPlugin::getName | ( | ) |
Get the name of this plugin. The name must be unique within its category.
Reimplemented from Plugin.
Definition at line 55 of file SwordImportExportPlugin.inc.php.
Referenced by display().
| SwordImportExportPlugin::getPluginPath | ( | ) |
Get the path this plugin's files are located in.
Reimplemented from Plugin.
Definition at line 62 of file SwordImportExportPlugin.inc.php.
| SwordImportExportPlugin::getSwordPlugin | ( | ) |
Get reference to the sword plugin
Definition at line 46 of file SwordImportExportPlugin.inc.php.
References $_parentPlugin.
Referenced by display().
| SwordImportExportPlugin::register | ( | $category, | |
| $path, | |||
$mainContextId = null |
|||
| ) |
Load and initialize the plug-in and register plugin hooks.
For backwards compatibility this method will be called whenever the plug-in's category is being loaded. If, however, registerOn() returns an array then this method will only be called when the plug-in is enabled and an entry in the result set of registerOn() matches the current request operation. An empty array matches all request operations.
| $category | String Name of category plugin was registered to |
| $path | String The path the plugin was found in |
| $mainContextId | integer To identify if the plugin is enabled we need a context. This context is usually taken from the request but sometimes there is no context in the request (e.g. when executing CLI commands). Then the main context can be given as an explicit ID. |
Reimplemented from Plugin.
Definition at line 36 of file SwordImportExportPlugin.inc.php.
References Plugin\addLocaleData().
| SwordImportExportPlugin::usage | ( | $scriptName | ) |
Reimplemented from ImportExportPlugin.
Definition at line 278 of file SwordImportExportPlugin.inc.php.
|
protected |
Parent plugin
Definition at line 21 of file SwordImportExportPlugin.inc.php.
Referenced by getSwordPlugin().