PluginManagerShutdownFunction

Used as shutdown function during plugin loading, to turn off plugins that causes troubles.

see
see
see
package

Default

Methods

Magic method to let object be called as function.

__invoke() : void

Disable object.

disable() : void

Enable object.

enable() : void

The object should ONLY be enabled during the plugin load phase.

isEnabled

isEnabled() : boolean

Response

boolean

setPluginName

setPluginName( $name) 

Arguments

$name

Echo error message.

showError(array $data) : void

Arguments

$data

array

Properties

enabled

enabled : boolean
var

Type(s)

boolean

currentPluginName

currentPluginName : string
var

Type(s)

string