|
Open Monograph Press
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 WebFeedGatewayPlugin, and TestGatewayPlugin.
| 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 WebFeedGatewayPlugin.
Definition at line 47 of file GatewayPlugin.inc.php.
References getCurrentContextId(), and Plugin\getSetting().
Referenced by TestGatewayPlugin\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().