mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
QuickTable: provide more hooks for special tables
This commit is contained in:
parent
441f94bb37
commit
a395923aed
@ -308,11 +308,26 @@ abstract class QuickTable implements Paginatable
|
|||||||
. $this->renderMultiselectAttributes()
|
. $this->renderMultiselectAttributes()
|
||||||
. '>' . "\n"
|
. '>' . "\n"
|
||||||
. $this->renderTitles($this->getTitles())
|
. $this->renderTitles($this->getTitles())
|
||||||
. "<tbody>\n";
|
. $this->beginTableBody();
|
||||||
foreach ($data as $row) {
|
foreach ($data as $row) {
|
||||||
$htm .= $this->renderRow($row);
|
$htm .= $this->renderRow($row);
|
||||||
}
|
}
|
||||||
return $htm . "</tbody>\n</table>\n";
|
return $htm . $this->endTableBody() . $this->endTable();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function beginTableBody()
|
||||||
|
{
|
||||||
|
return "<tbody>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function endTableBody()
|
||||||
|
{
|
||||||
|
return "</tbody>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function endTable()
|
||||||
|
{
|
||||||
|
return "</table>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user