PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\plugin\PharPluginLoader Class Reference
+ Inheritance diagram for pocketmine\plugin\PharPluginLoader:
+ Collaboration diagram for pocketmine\plugin\PharPluginLoader:

Public Member Functions

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

Detailed Description

Handles different types of plugins

Definition at line 32 of file PharPluginLoader.php.

Constructor & Destructor Documentation

pocketmine\plugin\PharPluginLoader::__construct ( Server  $server)
Parameters
Server$server

Definition at line 40 of file PharPluginLoader.php.

Member Function Documentation

pocketmine\plugin\PharPluginLoader::disablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin

Implements pocketmine\plugin\PluginLoader.

Definition at line 132 of file PharPluginLoader.php.

References pocketmine\plugin\Plugin\getDescription().

+ Here is the call graph for this function:

pocketmine\plugin\PharPluginLoader::enablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin

Implements pocketmine\plugin\PluginLoader.

Definition at line 119 of file PharPluginLoader.php.

References pocketmine\plugin\Plugin\getDescription().

+ Here is the call graph for this function:

pocketmine\plugin\PharPluginLoader::getPluginDescription (   $file)

Gets the PluginDescription from the file

Parameters
string$file
Returns
PluginDescription

Implements pocketmine\plugin\PluginLoader.

Definition at line 84 of file PharPluginLoader.php.

Referenced by pocketmine\plugin\PharPluginLoader\loadPlugin().

+ Here is the caller graph for this function:

pocketmine\plugin\PharPluginLoader::getPluginFilters ( )

Returns the filename patterns that this loader accepts

Returns
array

Implements pocketmine\plugin\PluginLoader.

Definition at line 101 of file PharPluginLoader.php.

pocketmine\plugin\PharPluginLoader::loadPlugin (   $file)

Loads the plugin contained in $file

Parameters
string$file
Returns
Plugin
Exceptions
\Exception

Implements pocketmine\plugin\PluginLoader.

Definition at line 53 of file PharPluginLoader.php.

References pocketmine\plugin\PharPluginLoader\getPluginDescription().

+ Here is the call graph for this function:


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