Merge "Make it possible to sort on simple custom columns"
[ninja.git] / modules / reports / controllers / sla.php
blob929aa7fc4cf08076b0dff4bba613d0e9a53ca62d
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * SLA reports controller
4 */
5 class Sla_Controller extends Reports_Controller
7 public $type = 'sla';
8 /**
9 * Translated helptexts for this controller
11 public static function _helptexts($id)
13 $helptexts = array(
14 'status_to_display' => _('Checking a state here causes it to not decrease the SLA. If e.g. warnings are allowed under the SLA conditions that apply, you should hide warning.'),
16 if (array_key_exists($id, $helptexts))
17 echo $helptexts[$id];
18 else
19 parent::_helptexts($id);