2023-05-25 05:18:21 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */
|
|
|
|
|
|
|
|
|
|
namespace Icinga\Module\Icingadb\Widget\ItemTable;
|
|
|
|
|
|
2023-08-09 08:25:44 -04:00
|
|
|
use Icinga\Module\Icingadb\Common\DetailActions;
|
|
|
|
|
use ipl\Web\Common\BaseItemTable;
|
2023-05-25 05:18:21 -04:00
|
|
|
use ipl\Web\Url;
|
|
|
|
|
|
|
|
|
|
class UsergroupTable extends BaseItemTable
|
|
|
|
|
{
|
2023-08-09 08:25:44 -04:00
|
|
|
use DetailActions;
|
|
|
|
|
|
2023-05-25 05:18:21 -04:00
|
|
|
protected $defaultAttributes = ['class' => 'usergroup-table'];
|
|
|
|
|
|
2023-08-09 08:25:44 -04:00
|
|
|
protected function init(): void
|
2023-05-25 05:18:21 -04:00
|
|
|
{
|
2023-08-09 08:25:44 -04:00
|
|
|
$this->initializeDetailActions();
|
2023-05-25 05:18:21 -04:00
|
|
|
$this->setDetailUrl(Url::fromPath('icingadb/usergroup'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected function getItemClass(): string
|
|
|
|
|
{
|
|
|
|
|
return UsergroupTableRow::class;
|
|
|
|
|
}
|
|
|
|
|
}
|