TrackManiaControl/application/core/plugin.php
Steffen Schröder d2744a5157 - removed unnecessary files
- cleaned up database class
- plugin and plugin handler class
- improved player and player handler classes
- other cleanup and improvements
2013-11-10 02:55:08 +01:00

58 lines
825 B
PHP

<?php
namespace ManiaControl;
/**
* Plugin parent class
*
* @author Lukas Kremsmayr and steeffeen
*/
abstract class Plugin {
/**
* Private properties
*/
protected $maniaControl;
protected $name;
protected $version;
protected $author;
protected $description;
/**
* Create plugin instance
*
* @param ManiaControl $maniaControl
*/
public abstract function __construct(ManiaControl $maniaControl);
/**
* Get plugin author
*
* @return string
*/
public abstract function getAuthor();
/**
* Get plugin version
*
* @return float
*/
public abstract function getVersion();
/**
* Get plugin name
*
* @return string
*/
public abstract function getName();
/**
* Get plugin description
*
* @return string
*/
public abstract function getDescription();
}
?>