PHP Class LazyLoadPlugin, pkp-lib

Inheritance: extends Plugin
Exibir arquivo Open project: pkp/pkp-lib Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
getCanDisable ( )
getCanEnable ( )
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.
getName ( )
register ( $category, $path )
setEnabled ( $enabled ) Set whether or not this plugin is currently enabled.

Method Details

__construct() public method

Constructor
public __construct ( )

getCanDisable() public method

public getCanDisable ( )

getCanEnable() public method

public getCanEnable ( )

getCurrentContextId() public method

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

getEnabled() public method

Determine whether or not this plugin is currently enabled.
public getEnabled ( ) : boolean
return boolean

getName() public method

See also: Plugin::getName()
public getName ( )

register() public method

public register ( $category, $path )

setEnabled() public method

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