TrackManiaControl/application/plugins/testPlugin.php

37 lines
609 B
PHP
Raw Normal View History

<?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';
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
}
2013-11-10 10:05:02 +01:00
//abstract Methods from ParentClass (do not change them!)
public function getAuthor() {
2013-11-10 11:35:07 +01:00
return self::AUTHOR;
}
public function getName() {
2013-11-10 11:35:07 +01:00
return self::NAME;
}
public function getVersion() {
2013-11-10 11:35:07 +01:00
return self::VERSION;
}
public function getDescription() {
2013-11-10 11:35:07 +01:00
return self::DESCRIPTION;
}
}
?>