added license and copyright annotations

improved phpdoc
This commit is contained in:
Steffen Schröder
2014-04-12 12:14:37 +02:00
parent 07a63cf518
commit 08cad46cfc
61 changed files with 345 additions and 204 deletions

View File

@ -9,9 +9,11 @@ use ManiaControl\ManiaExchange\MXMapInfo;
* Map Class
*
* @author kremsy & steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Map {
/**
/*
* Public Properties
*/
public $index = -1;

View File

@ -14,12 +14,14 @@ use ManiaControl\Players\Player;
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
/**
* Class offering commands to manage maps
* Class offering Commands to manage Maps
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class MapCommands implements CommandListener, ManialinkPageAnswerListener, CallbackListener {
/**
/*
* Constants
*/
const ACTION_OPEN_MAPLIST = 'MapCommands.OpenMapList';
@ -27,7 +29,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
const ACTION_RESTART_MAP = 'MapCommands.RestartMap';
const ACTION_SKIP_MAP = 'MapCommands.NextMap';
/**
/*
* Private Properties
*/
private $maniaControl = null;

View File

@ -30,9 +30,11 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
* MapList Widget Class
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class MapList implements ManialinkPageAnswerListener, CallbackListener {
/**
/*
* Constants
*/
const ACTION_UPDATE_MAP = 'MapList.UpdateMap';
@ -47,7 +49,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
const DEFAULT_KARMA_PLUGIN = 'KarmaPlugin';
const DEFAULT_CUSTOM_VOTE_PLUGIN = 'CustomVotesPlugin';
/**
/*
* Private Properties
*/
private $maniaControl = null;

View File

@ -19,6 +19,8 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
* Manager for Maps
*
* @author kremsy & steeffeen
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class MapManager implements CallbackListener {
/*

View File

@ -14,9 +14,11 @@ use ManiaControl\Players\Player;
* MapQueue Class
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class MapQueue implements CallbackListener, CommandListener {
/**
/*
* Constants
*/
const CB_MAPQUEUE_CHANGED = 'MapQueue.MapQueueBoxChanged';
@ -27,8 +29,9 @@ class MapQueue implements CallbackListener, CommandListener {
const ADMIN_COMMAND_CLEAR_MAPQUEUE = 'clearmapqueue';
const ADMIN_COMMAND_CLEAR_JUKEBOX = 'clearjukebox';
/**
* Private properties
/*
* Private Properties
*/
private $maniaControl = null;
private $queuedMaps = array();
@ -241,5 +244,4 @@ class MapQueue implements CallbackListener, CommandListener {
var_dump($map->name);
}
}
}
}