summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/ZoneObjectDashlet.php
blob: ee789f2ebf52c8114f0aa017b7fb8cee22eaf66d (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
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

class ZoneObjectDashlet extends Dashlet
{
    protected $icon = 'globe';

    protected $requiredStats = array('zone');

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

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

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