TrackManiaControl/application/core/pluginHandler.php

29 lines
439 B
PHP
Raw Normal View History

2013-11-09 11:06:04 +01:00
<?php
2013-11-09 12:20:38 +01:00
namespace ManiaControl;
2013-11-09 11:06:04 +01:00
/**
* Class handles plugins
*
* @author Lukas Kremsmayr and steeffeen
*/
class PluginHandler {
2013-11-09 13:29:18 +01:00
/**
* Private properties
*/
private $mc;
private $plugins;
2013-11-09 11:06:04 +01:00
2013-11-09 13:29:18 +01:00
public function __construct($mc){
$this->mControl = $mc;
$this->plugins = array();
}
public function registerPlugin($plugin){
array_push($this->plugins, $plugin);
}
2013-11-09 11:06:04 +01:00
}
?>