icingadb-web/library/Icingadb/Widget/ItemTable/UsergroupTable.php

28 lines
607 B
PHP
Raw Normal View History

<?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;
use ipl\Web\Url;
class UsergroupTable extends BaseItemTable
{
2023-08-09 08:25:44 -04:00
use DetailActions;
protected $defaultAttributes = ['class' => 'usergroup-table'];
2023-08-09 08:25:44 -04:00
protected function init(): void
{
2023-08-09 08:25:44 -04:00
$this->initializeDetailActions();
$this->setDetailUrl(Url::fromPath('icingadb/usergroup'));
}
protected function getItemClass(): string
{
return UsergroupTableRow::class;
}
}