changed direct public property access to using getter methods

phpdoc improvements
This commit is contained in:
Steffen Schröder
2014-08-02 22:31:46 +02:00
parent 58a668cf65
commit e560919096
70 changed files with 450 additions and 271 deletions

View File

@ -25,6 +25,7 @@ class CustomUIManager implements CallbackListener, TimerListener {
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
/** @var customUI $customUI */
private $customUI = null;

View File

@ -25,7 +25,7 @@ class IconManager implements CallbackListener {
const DEFAULT_IMG_URL = 'http://images.maniacontrol.com/icons/';
const PRELOAD_MLID = 'IconManager.Preload.MLID';
/**
/*
* Default icons
*/
const MX_ICON = 'ManiaExchange.png';
@ -34,9 +34,10 @@ class IconManager implements CallbackListener {
const MX_ICON_GREEN = 'ManiaExchangeGreen.png';
const MX_ICON_GREEN_MOVER = 'ManiaExchange_logo_pressGreen.png';
/**
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
private $icons = array();

View File

@ -33,15 +33,19 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener
* Public properties
*/
/** @var StyleManager $styleManager */
/** @deprecated see getStyleManager() */
public $styleManager = null;
/** @var CustomUIManager $customUIManager */
/** @deprecated see getCustomUIManager() */
public $customUIManager = null;
/** @var IconManager $iconManager */
/** @deprecated see getIconManager() */
public $iconManager = null;
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
// TODO: use listening class
private $pageAnswerListeners = array();
@ -53,7 +57,7 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener
* @param ManiaControl $maniaControl
*/
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->maniaControl = $maniaControl;
// Children
$this->styleManager = new StyleManager($maniaControl);

View File

@ -38,10 +38,11 @@ class StyleManager {
/*
* Private properties
*/
/** @var ManiaControl $maniaControl */
private $maniaControl = null;
/**
* Create a new style manager instance
* Construct a new style manager instance
*
* @param ManiaControl $maniaControl
*/