Merge branch 'maint/7.0'
[ninja.git] / modules / reports / controllers / avail.php
blob73945f79754c37e5191b8d3381adb33ce4b40a57
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * Availability reports controller
4 */
5 class Avail_Controller extends Reports_Controller
7 public $type = 'avail';
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 be hidden from the report. You might find that hiding e.g. all states except critical creates a clearer report.'),
16 if (array_key_exists($id, $helptexts))
17 echo $helptexts[$id];
18 else
19 parent::_helptexts($id);