summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php
blob: 297b3f8c202cc217c793b7f91654874295ab31ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

class SingleServicesDashlet extends Dashlet
{
    protected $icon = 'service';

    public function getTitle()
    {
        return $this->translate('Single Services');
    }

    public function getSummary()
    {
        return $this->translate(
            'Here you can find all single services directly attached to single'
            . ' hosts'
        );
    }

    public function getUrl()
    {
        return 'director/services';
    }

    public function listRequiredPermissions()
    {
        return array('director/services');
    }
}