Open Journal Systems
3.3.0
|
Additional Inherited Members | |
Data Fields inherited from Plugin | |
$pluginCategory | |
$pluginPath | |
$request | |
Protected Member Functions inherited from Plugin | |
_registerTemplateResource ($inCore=false) | |
Abstract class for gateway plugins.
Definition at line 18 of file GatewayPlugin.inc.php.
|
abstract |
Handle fetch requests for this plugin.
$args | array |
$request | object |
Reimplemented in MarkupGatewayPlugin, MarkupBatchGatewayPlugin, PLNGatewayPlugin, WebFeedGatewayPlugin, AnnouncementFeedGatewayPlugin, and ResolverPlugin.
GatewayPlugin::getCanDisable | ( | ) |
Determine whether the plugin can be disabled.
Reimplemented from Plugin.
Definition at line 39 of file GatewayPlugin.inc.php.
GatewayPlugin::getCanEnable | ( | ) |
Determine whether the plugin can be enabled.
Reimplemented from Plugin.
Definition at line 31 of file GatewayPlugin.inc.php.
GatewayPlugin::getCurrentContextId | ( | ) |
Get the current context ID or the site-wide context ID (0) if no context can be found.
Definition at line 63 of file GatewayPlugin.inc.php.
References PKPApplication\get().
Referenced by getEnabled(), and setEnabled().
GatewayPlugin::getEnabled | ( | ) |
Determine whether or not this plugin is currently enabled.
Reimplemented from Plugin.
Reimplemented in MarkupGatewayPlugin, PLNGatewayPlugin, and AnnouncementFeedGatewayPlugin.
Definition at line 47 of file GatewayPlugin.inc.php.
References getCurrentContextId(), and Plugin\getSetting().
Referenced by ResolverPlugin\fetch().
GatewayPlugin::getPolicies | ( | $request | ) |
Get policies to the authorization process
$request | PKPRequest |
Definition at line 74 of file GatewayPlugin.inc.php.
GatewayPlugin::setEnabled | ( | $enabled | ) |
Set whether or not this plugin is currently enabled.
$enabled | boolean |
Definition at line 55 of file GatewayPlugin.inc.php.
References getCurrentContextId(), and Plugin\updateSetting().