Open Journal Systems
3.3.0
|
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) | |
PubMed/MEDLINE XML metadata export plugin.
Definition at line 18 of file PubMedExportPlugin.inc.php.
PubMedExportPlugin::display | ( | $args, | |
$request | |||
) |
Display the plugin.
$args | array |
$request | PKPRequest |
Reimplemented from ImportExportPlugin.
Definition at line 58 of file PubMedExportPlugin.inc.php.
References Plugin\$request, exportIssues(), exportSubmissions(), ImportExportPlugin\getExportFileName(), ImportExportPlugin\getExportPath(), PKPTemplateManager\getManager(), and Plugin\getTemplateResource().
PubMedExportPlugin::executeCLI | ( | $scriptName, | |
& | $args | ||
) |
Execute import/export tasks using the command-line interface.
$args | Parameters to the plugin |
Reimplemented from ImportExportPlugin.
Definition at line 183 of file PubMedExportPlugin.inc.php.
References exportIssues(), DAORegistry\getDAO(), and usage().
PubMedExportPlugin::exportIssues | ( | $issueIds, | |
$context, | |||
$user | |||
) |
Get the XML for a set of issues.
Definition at line 158 of file PubMedExportPlugin.inc.php.
References ImportExportPlugin\displayXMLValidationErrors(), PKPServices\get(), and DAORegistry\getDAO().
Referenced by display(), and executeCLI().
PubMedExportPlugin::exportSubmissions | ( | $submissionIds, | |
$context, | |||
$user | |||
) |
Definition at line 128 of file PubMedExportPlugin.inc.php.
References ImportExportPlugin\displayXMLValidationErrors(), and DAORegistry\getDAO().
Referenced by display().
PubMedExportPlugin::getDescription | ( | ) |
Get the display description.
Reimplemented from Plugin.
Definition at line 49 of file PubMedExportPlugin.inc.php.
PubMedExportPlugin::getDisplayName | ( | ) |
Get the display name.
Reimplemented from Plugin.
Definition at line 41 of file PubMedExportPlugin.inc.php.
PubMedExportPlugin::getName | ( | ) |
Get the name of this plugin. The name must be unique within its category.
Reimplemented from Plugin.
Definition at line 33 of file PubMedExportPlugin.inc.php.
Referenced by usage().
PubMedExportPlugin::getPluginSettingsPrefix | ( | ) |
Get the plugin ID used as plugin settings prefix.
Reimplemented from ImportExportPlugin.
Definition at line 124 of file PubMedExportPlugin.inc.php.
PubMedExportPlugin::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 22 of file PubMedExportPlugin.inc.php.
References Plugin\addLocaleData().
PubMedExportPlugin::usage | ( | $scriptName | ) |
Display the command-line usage information
Reimplemented from ImportExportPlugin.
Definition at line 233 of file PubMedExportPlugin.inc.php.
References getName().
Referenced by executeCLI().