Controllers: Make all private properties protected
Controllers are neither library stuff nor any vital part that need to be protected from too adventurous module developers.
This commit is contained in:
parent
c554ebb473
commit
22223acf1d
|
@ -63,17 +63,17 @@ class ActionController extends Zend_Controller_Action
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
private $moduleName;
|
||||
protected $moduleName;
|
||||
|
||||
private $autorefreshInterval;
|
||||
protected $autorefreshInterval;
|
||||
|
||||
private $reloadCss = false;
|
||||
protected $reloadCss = false;
|
||||
|
||||
private $window;
|
||||
protected $window;
|
||||
|
||||
private $rerenderLayout = false;
|
||||
protected $rerenderLayout = false;
|
||||
|
||||
private $xhrLayout = 'inline';
|
||||
protected $xhrLayout = 'inline';
|
||||
|
||||
/**
|
||||
* The inner layout (inside the body) to use
|
||||
|
@ -87,7 +87,7 @@ class ActionController extends Zend_Controller_Action
|
|||
*
|
||||
* @var Auth|null
|
||||
*/
|
||||
private $auth;
|
||||
protected $auth;
|
||||
|
||||
/**
|
||||
* URL parameters
|
||||
|
|
|
@ -13,11 +13,11 @@ use Icinga\Application\Modules\Module;
|
|||
*/
|
||||
class ModuleActionController extends ActionController
|
||||
{
|
||||
private $config;
|
||||
protected $config;
|
||||
|
||||
private $configs = array();
|
||||
protected $configs = array();
|
||||
|
||||
private $module;
|
||||
protected $module;
|
||||
|
||||
/**
|
||||
* (non-PHPDoc)
|
||||
|
|
Loading…
Reference in New Issue