improved map object

This commit is contained in:
kremsy 2013-11-10 19:31:35 +01:00
parent fec55fdcd4
commit 5a7246a791
2 changed files with 10 additions and 4 deletions

View File

@ -4,6 +4,7 @@ namespace ManiaControl;
/**
* Needed includes
* @author steeffeen & kremsy
*/
require_once __DIR__ . '/authentication.php';
require_once __DIR__ . '/callbacks.php';

View File

@ -1,9 +1,8 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 10.11.13
* Time: 16:46
* Handler for maps
*
* @author kremsy & steeffeen
*/
namespace ManiaControl;
@ -22,6 +21,11 @@ class mapHandler {
* Construct map handler
* @param ManiaControl $maniaControl
*/
//TODO: database init
//TODO: erasemap from server
//TODO: implement of a method which are called by xlist command and results maplists from maniaexcahnge (or extra class for it)
//TODO: admin add from maniaexchange, would handle it here
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
@ -42,6 +46,7 @@ class mapHandler {
}
/**
* Handle OnInit callback
*