2016-10-27 19:58:31 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
|
|
|
|
|
|
|
class CommandObjectDashlet extends Dashlet
|
|
|
|
{
|
|
|
|
protected $icon = 'wrench';
|
|
|
|
|
|
|
|
protected $requiredStats = array('command');
|
|
|
|
|
|
|
|
public function getTitle()
|
|
|
|
{
|
|
|
|
return $this->view->translate('Commands');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUrl()
|
|
|
|
{
|
2016-11-03 20:07:32 +01:00
|
|
|
return 'director/commands';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function listRequiredPermissions()
|
|
|
|
{
|
|
|
|
return array('director/admin');
|
2016-10-27 19:58:31 +02:00
|
|
|
}
|
|
|
|
}
|