mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-07-12 02:55:41 -04:00
26 lines
586 B
PHP
26 lines
586 B
PHP
<?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()
|
|
);
|
|
}
|
|
}
|