QuickTable: provide more hooks for special tables

This commit is contained in:
Thomas Gelf 2016-12-30 21:10:29 +01:00
parent 441f94bb37
commit a395923aed
1 changed files with 17 additions and 2 deletions

View File

@ -308,11 +308,26 @@ abstract class QuickTable implements Paginatable
. $this->renderMultiselectAttributes()
. '>' . "\n"
. $this->renderTitles($this->getTitles())
. "<tbody>\n";
. $this->beginTableBody();
foreach ($data as $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";
}
/**