33 lines
478 B
PHP
33 lines
478 B
PHP
<?php
|
|
|
|
namespace ManiaControl;
|
|
|
|
/**
|
|
* Class handles plugins
|
|
*
|
|
* @author Lukas Kremsmayr and steeffeen
|
|
*/
|
|
|
|
|
|
class PluginHandler {
|
|
|
|
/**
|
|
* Private properties
|
|
*/
|
|
private $mc;
|
|
private $plugins;
|
|
|
|
public function __construct($mc){
|
|
$this->mc = $mc;
|
|
$this->plugins = array();
|
|
}
|
|
|
|
public function registerPlugin($plugin){
|
|
array_push($this->plugins, $plugin);
|
|
}
|
|
|
|
public function loadPlugins(){
|
|
|
|
}
|
|
}
|
|
?>
|