improved testplugin
This commit is contained in:
parent
7998898692
commit
a34f1c6fa7
@ -3,25 +3,33 @@
|
||||
namespace ManiaControl;
|
||||
|
||||
class TestPlugin extends Plugin {
|
||||
const AUTHOR = 'steeffeen';
|
||||
const NAME = 'Test Plugin';
|
||||
const VERSION = '1.0';
|
||||
const DESCRIPTION = 'Test Plugin';
|
||||
|
||||
public function __construct(ManiaControl $maniaControl) {
|
||||
$this->maniaControl = $maniaControl;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//abstract Methods from ParentClass (do not change them!)
|
||||
public function getAuthor() {
|
||||
return 'steeffeen';
|
||||
return SELF::AUTHOR;
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
return 'Test Plugin';
|
||||
return SELF::NAME;
|
||||
}
|
||||
|
||||
public function getVersion() {
|
||||
return '1.0';
|
||||
return SELF::VERSION;
|
||||
}
|
||||
|
||||
public function getDescription() {
|
||||
return 'Dummy plugin for testing plugin handling';
|
||||
return SELF::DESCRIPTION;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user