Monitoring/Controller: Move property compactView to base controller class

This commit is contained in:
Eric Lippmann 2013-10-23 15:38:06 +02:00
parent 1229eae0bf
commit e48afa762c
2 changed files with 9 additions and 10 deletions

View File

@ -63,16 +63,6 @@ class Monitoring_ListController extends MonitoringController
* @var Backend
*/
protected $backend;
/**
* Compact layout name
*
* Set to a string containing the compact layout name to use when
* 'compact' is set as the layout parameter, otherwise null
*
* @var string
*/
protected $compactView;
/**
* Retrieve backend and hooks for this controller
*

View File

@ -38,6 +38,15 @@ use Icinga\Web\Controller\ActionController;
*/
class Controller extends ActionController
{
/**
* Compact layout name
*
* Set to a string containing the compact layout name to use when
* 'compact' is set as the layout parameter, otherwise null
*
* @var string
*/
protected $compactView;
/**
* Retrieve services from either given parameters or request