PHP 클래스 GatewayPlugin, pkp-lib

상속: extends Plugin
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 메소드들

메소드 설명
__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