2013-11-10 02:55:08 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace ManiaControl;
|
|
|
|
|
|
|
|
class TestPlugin extends Plugin {
|
2013-11-10 10:05:02 +01:00
|
|
|
const AUTHOR = 'steeffeen';
|
|
|
|
const NAME = 'Test Plugin';
|
|
|
|
const VERSION = '1.0';
|
|
|
|
const DESCRIPTION = 'Test Plugin';
|
2013-11-10 02:55:08 +01:00
|
|
|
|
|
|
|
public function __construct(ManiaControl $maniaControl) {
|
|
|
|
$this->maniaControl = $maniaControl;
|
|
|
|
}
|
|
|
|
|
2013-11-10 10:05:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//abstract Methods from ParentClass (do not change them!)
|
2013-11-10 02:55:08 +01:00
|
|
|
public function getAuthor() {
|
2013-11-10 10:05:02 +01:00
|
|
|
return SELF::AUTHOR;
|
2013-11-10 02:55:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getName() {
|
2013-11-10 10:05:02 +01:00
|
|
|
return SELF::NAME;
|
2013-11-10 02:55:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getVersion() {
|
2013-11-10 10:05:02 +01:00
|
|
|
return SELF::VERSION;
|
2013-11-10 02:55:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getDescription() {
|
2013-11-10 10:05:02 +01:00
|
|
|
return SELF::DESCRIPTION;
|
2013-11-10 02:55:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|