mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Hostgroup: Implement getMetaData()
This commit is contained in:
parent
a5b4c24d0f
commit
2251a871f6
1 changed files with 13 additions and 0 deletions
|
|
@ -34,6 +34,19 @@ class Hostgroup extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Hostgroup Environment Id'),
|
||||
'name_checksum' => t('Hostgroup Name Checksum'),
|
||||
'properties_checksum' => t('Hostgroup Properties Checksum'),
|
||||
'name' => t('Hostgroup Name'),
|
||||
'name_ci' => t('Hostgroup Name (CI)'),
|
||||
'display_name' => t('Hostgroup Display Name'),
|
||||
'zone_id' => t('Hostgroup Zone Id')
|
||||
];
|
||||
}
|
||||
|
||||
public function getDefaultSort()
|
||||
{
|
||||
return 'display_name';
|
||||
|
|
|
|||
Loading…
Reference in a new issue