PHP Класс GatewayPlugin, pkp-lib

Наследование: extends Plugin
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Constructor
fetch ( $args, $request ) Handle fetch requests for this plugin.
getCanDisable ( ) : boolean Determine whether the plugin can be disabled.
getCanEnable ( ) : boolean Determine whether the plugin can be enabled.
getCurrentContextId ( ) Get the current context ID or the site-wide context ID (0) if no context can be found.
getEnabled ( ) : boolean Determine whether or not this plugin is currently enabled.
setEnabled ( $enabled ) Set whether or not this plugin is currently enabled.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( )

fetch() абстрактный публичный Метод

Handle fetch requests for this plugin.
abstract public fetch ( $args, $request )
$args array
$request object

getCanDisable() публичный Метод

Determine whether the plugin can be disabled.
public getCanDisable ( ) : boolean
Результат boolean

getCanEnable() публичный Метод

Determine whether the plugin can be enabled.
public getCanEnable ( ) : boolean
Результат boolean

getCurrentContextId() публичный Метод

Get the current context ID or the site-wide context ID (0) if no context can be found.
public getCurrentContextId ( )

getEnabled() публичный Метод

Determine whether or not this plugin is currently enabled.
public getEnabled ( ) : boolean
Результат boolean

setEnabled() публичный Метод

Set whether or not this plugin is currently enabled.
public setEnabled ( $enabled )
$enabled boolean