icingaweb2-module-director/library/Director/Web/Table/DependencyTemplateUsageTable.php
2017-09-28 14:50:44 +02:00

23 lines
524 B
PHP

<?php
namespace Icinga\Module\Director\Web\Table;
class DependencyTemplateUsageTable extends TemplateUsageTable
{
public function getTypes()
{
return [
'templates' => $this->translate('Templates'),
'applyrules' => $this->translate('Apply Rules'),
];
}
protected function getTypeSummaryDefinitions()
{
return [
'templates' => $this->getSummaryLine('template'),
'applyrules' => $this->getSummaryLine('apply'),
];
}
}