* @author Icinga Development Team */ // {{{ICINGA_LICENSE_HEADER}}} namespace Monitoring\View; /** * Class DowntimeView */ class DowntimeView extends MonitoringView { /** * Query object * @var mixed */ protected $query; /** * Available columns * @var string[] */ protected $availableColumns = array( 'downtime_type', 'downtime_author_name', 'downtime_comment_data', 'downtime_is_fixed', 'downtime_duration', 'downtime_scheduled_start_time', 'downtime_scheduled_end_time', 'downtime_was_started', 'downtime_actual_start_time', 'downtime_actual_start_time_usec', 'downtime_is_in_effect', 'downtime_trigger_time', 'downtime_internal_downtime_id' ); /** * Filters * @var array */ protected $specialFilters = array(); /** * Default sorting of data set * @var array */ protected $sortDefaults = array( 'downtime_is_in_effect' => array( 'default_dir' => self::SORT_DESC ), 'downtime_actual_start_time' => array( 'default_dir' => self::SORT_DESC ) ); }