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:
Johannes Meyer 2017-06-28 09:51:28 +02:00
parent c554ebb473
commit 22223acf1d
2 changed files with 10 additions and 10 deletions

View File

@ -63,17 +63,17 @@ class ActionController extends Zend_Controller_Action
* *
* @var string * @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 * The inner layout (inside the body) to use
@ -87,7 +87,7 @@ class ActionController extends Zend_Controller_Action
* *
* @var Auth|null * @var Auth|null
*/ */
private $auth; protected $auth;
/** /**
* URL parameters * URL parameters

View File

@ -13,11 +13,11 @@ use Icinga\Application\Modules\Module;
*/ */
class ModuleActionController extends ActionController class ModuleActionController extends ActionController
{ {
private $config; protected $config;
private $configs = array(); protected $configs = array();
private $module; protected $module;
/** /**
* (non-PHPDoc) * (non-PHPDoc)