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

@ -8,7 +8,9 @@ use ManiaControl\Formatter;
* Mania Exchange Map Info Object
*
* @author Xymph
* @updated lukas and steeffeen
* @updated kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class MXMapInfo {
public $prefix, $id, $uid, $name, $userid, $author, $uploaded, $updated, $type, $maptype;
@ -100,4 +102,4 @@ class MXMapInfo {
}
}
}
}
}

View File

@ -23,14 +23,15 @@ use ManiaControl\Maps\MapCommands;
use ManiaControl\Maps\MapQueue;
use ManiaControl\Players\Player;
/**
* ManiaExchange List Widget Class
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener {
/**
/*
* Constants
*/
const ACTION_ADD_MAP = 'ManiaExchangeList.AddMap';
@ -39,7 +40,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
const ACTION_GET_MAPS_FROM_AUTHOR = 'ManiaExchangeList.GetMapsFromAuthor';
const MAX_MX_MAPS_PER_PAGE = 14;
/**
/*
* Private Properties
*/
private $maniaControl = null;

View File

@ -11,9 +11,11 @@ use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
* Mania Exchange Info Searcher Class
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class ManiaExchangeManager{
/**
/*
* Constants
*/
//Search others
@ -41,8 +43,8 @@ class ManiaExchangeManager{
//Beta Testing Activated
const SETTING_MP3_BETA_TESTING = 'Activate MP3 Beta Testing';
/**
* Private Propertieswc
/*
* Private Properties
*/
private $maniaControl = null;
private $mxIdUidVector = array();