icingaweb2-module-director/library/Director/Dashboard/TimeperiodsDashboard.php

34 lines
858 B
PHP
Raw Normal View History

2017-07-14 11:02:44 +02:00
<?php
namespace Icinga\Module\Director\Dashboard;
class TimeperiodsDashboard extends Dashboard
2017-07-14 11:02:44 +02:00
{
protected $dashletNames = [
2017-07-31 10:01:58 +02:00
'TimeperiodObject',
'TimeperiodTemplate',
2017-07-14 11:02:44 +02:00
];
public function getTitle()
{
return $this->translate('Define custom Time Periods');
}
public function getDescription()
{
return $this->translate(
'Want to define to execute specific checks only withing specific'
. ' time periods? Get mobile notifications only out of office hours,'
. ' but mail notifications all around the clock? Time Periods allow'
. ' you to tackle those and similar requirements.'
);
}
public function getTabs()
{
return $this->createTabsForDashboards(
['notifications', 'users', 'timeperiods']
);
}
2017-07-14 11:02:44 +02:00
}