blob: 432817b51c12b41dbdadc8f95a795fc3695f62e6 (
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
|
<?php
/* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */
namespace Icinga\Module\Icingadb\Widget\ItemTable;
use Icinga\Module\Icingadb\Common\DetailActions;
use ipl\Web\Common\BaseItemTable;
use ipl\Web\Url;
class UserTable extends BaseItemTable
{
use DetailActions;
protected $defaultAttributes = ['class' => 'user-table'];
protected function init(): void
{
$this->initializeDetailActions();
$this->setDetailUrl(Url::fromPath('icingadb/user'));
}
protected function getItemClass(): string
{
return UserTableRow::class;
}
}
|