PocketMine
PharPluginLoader Class Reference
Inheritance diagram for PharPluginLoader:
PluginLoader

Public Member Functions

 __construct (Server $server)
 
 loadPlugin ($file)
 
 getPluginDescription ($file)
 
 getPluginFilters ()
 
 enablePlugin (Plugin $plugin)
 
 disablePlugin (Plugin $plugin)
 

Detailed Description

Handles different types of plugins

Constructor & Destructor Documentation

__construct ( Server  $server)
Parameters
Server$server

Member Function Documentation

disablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin

Implements PluginLoader.

enablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin

Implements PluginLoader.

getPluginDescription (   $file)

Gets the PluginDescription from the file

Parameters
string$file
Returns
PluginDescription

Implements PluginLoader.

getPluginFilters ( )

Returns the filename patterns that this loader accepts

Returns
array

Implements PluginLoader.

loadPlugin (   $file)

Loads the plugin contained in $file

Parameters
string$file
Returns
Plugin
Exceptions

Implements PluginLoader.


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