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

@@ -13,15 +13,16 @@ use ManiaControl\Players\PlayerManager;
* Class managing the Custom UI Settings
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class CustomUIManager implements CallbackListener, TimerListener {
/**
/*
* Constants
*/
const CUSTOMUI_MLID = 'CustomUI.MLID';
/**
/*
* Private Properties
*/
private $maniaControl = null;

View File

@@ -15,9 +15,11 @@ use ManiaControl\Players\Player;
* Class managing Icons
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class IconManager implements CallbackListener {
/**
/*
* Constants
*/
const DEFAULT_IMG_URL = 'http://images.maniacontrol.com/icons/';

View File

@@ -13,13 +13,14 @@ use ManiaControl\Players\Player;
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
/**
* Manialink manager class
* Manialink Manager Class
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener {
/**
/*
* Constants
*/
const MAIN_MLID = 'Main.ManiaLinkId';
@@ -27,15 +28,15 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener
const CB_MAIN_WINDOW_CLOSED = 'ManialinkManagerCallback.MainWindowClosed';
const CB_MAIN_WINDOW_OPENED = 'ManialinkManagerCallback.MainWindowOpened';
/**
* Public properties
/*
* Public Properties
*/
public $styleManager = null;
public $customUIManager = null;
public $iconManager = null;
/**
* Private properties
/*
* Private Properties
*/
private $maniaControl = null;
private $pageAnswerListeners = array();

View File

@@ -3,12 +3,14 @@
namespace ManiaControl\Manialinks;
/**
* Interface for manialink page answer listeners
* Interface for Manialink Page Answer Listeners
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
interface ManialinkPageAnswerListener {
/**
/*
* Constants
*/
const MANIALINKPAGEANSWERLISTENER_INTERFACE = __CLASS__;

View File

@@ -13,12 +13,14 @@ use FML\Script\Script;
use ManiaControl\ManiaControl;
/**
* Class managing default control styles
* Class managing default Control Styles
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class StyleManager {
/**
/*
* Constants
*/
const SETTING_LABEL_DEFAULT_STYLE = 'Default Label Style';
@@ -32,8 +34,8 @@ class StyleManager {
const SETTING_ICON_DEFAULT_OFFSET_SM = 'Default Icon Offset in Shootmania';
/**
* Private properties
/*
* Private Properties
*/
private $maniaControl = null;