Method | Description | |
---|---|---|
__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. |
abstract public fetch ( $args, $request ) | ||
$args | array | |
$request | object |
public getCanDisable ( ) : boolean | ||
return | boolean |
public getCanEnable ( ) : boolean | ||
return | boolean |
public getCurrentContextId ( ) |
public getEnabled ( ) : boolean | ||
return | boolean |
public setEnabled ( $enabled ) | ||
$enabled | boolean |