PocketMine
PluginLoader Interface Reference
Inheritance diagram for PluginLoader:
PharPluginLoader ScriptPluginLoader

Public Member Functions

 loadPlugin ($file)
 
 getPluginDescription ($file)
 
 getPluginFilters ()
 
 enablePlugin (Plugin $plugin)
 
 disablePlugin (Plugin $plugin)
 

Detailed Description

Handles different types of plugins

Member Function Documentation

disablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin
Returns
void

Implemented in ScriptPluginLoader, and PharPluginLoader.

enablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin
Returns
void

Implemented in ScriptPluginLoader, and PharPluginLoader.

getPluginDescription (   $file)

Gets the PluginDescription from the file

Parameters
string$file
Returns
PluginDescription

Implemented in ScriptPluginLoader, and PharPluginLoader.

getPluginFilters ( )

Returns the filename patterns that this loader accepts

Returns
string[]

Implemented in ScriptPluginLoader, and PharPluginLoader.

loadPlugin (   $file)

Loads the plugin contained in $file

Parameters
string$file
Returns
Plugin

Implemented in ScriptPluginLoader, and PharPluginLoader.


The documentation for this interface was generated from the following file: