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 * Needed includes
* @author steeffeen & kremsy
*/ */
require_once __DIR__ . '/authentication.php'; require_once __DIR__ . '/authentication.php';
require_once __DIR__ . '/callbacks.php'; require_once __DIR__ . '/callbacks.php';

View File

@ -1,9 +1,8 @@
<?php <?php
/** /**
* Created by PhpStorm. * Handler for maps
* User: Lukas *
* Date: 10.11.13 * @author kremsy & steeffeen
* Time: 16:46
*/ */
namespace ManiaControl; namespace ManiaControl;
@ -22,6 +21,11 @@ class mapHandler {
* Construct map handler * Construct map handler
* @param ManiaControl $maniaControl * @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) { public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl; $this->maniaControl = $maniaControl;
@ -42,6 +46,7 @@ class mapHandler {
} }
/** /**
* Handle OnInit callback * Handle OnInit callback
* *