blob: b9ce0226c13abfe07cf42a44c9999bb22822e4b0 (
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
|
<?php
/* Icinga DB Web | (c) 2023 Icinga GmbH | GPLv2 */
namespace Icinga\Module\Icingadb\Widget\ItemTable;
use ipl\Html\BaseHtmlElement;
use ipl\Html\HtmlDocument;
trait TableRowLayout
{
protected function assembleColumns(HtmlDocument $columns): void
{
foreach ($this->createStatistics() as $objectStatistic) {
$columns->addHtml($objectStatistic);
}
}
protected function assembleTitle(BaseHtmlElement $title): void
{
$title->addHtml(
$this->createSubject(),
$this->createCaption()
);
}
}
|