mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Model: Rename getMetaData into getColumnDefinitions
This commit is contained in:
parent
c7abd63324
commit
47332faffa
35 changed files with 35 additions and 35 deletions
|
|
@ -48,7 +48,7 @@ class AcknowledgementHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Acknowledgement Environment Id (History)'),
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class ActionUrl extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'action_url' => t('Action Url'),
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class Checkcommand extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'zone_id' => t('Checkcommand Zone Id'),
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class CheckcommandArgument extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'checkcommand_id' => t('Checkcommand Argument Command Id'),
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class CheckcommandEnvvar extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'checkcommand_id' => t('Checkcommand Envvar Command Id'),
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class Comment extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Comment Environment Id'),
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class CommentHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Comment Environment Id (History)'),
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ class Downtime extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Downtime Environment Id'),
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class DowntimeHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Downtime Environment Id (History)'),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class Endpoint extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Endpoint Environment Id'),
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class Environment extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'name' => t('Environment Name')
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class Eventcommand extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'zone_id' => t('Eventcommand Zone Id'),
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class EventcommandArgument extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'eventcommand_id' => t('Eventcommand Argument Command Id'),
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class EventcommandEnvvar extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'eventcommand_id' => t('Eventcommand Envvar Command Id'),
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class FlappingHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Flapping Environment Id (History)'),
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class History extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Environment Id (History)'),
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ class Host extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Host Environment Id'),
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class HostState extends State
|
|||
return 'host_id';
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Host State Environment Id'),
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class Hostgroup extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Hostgroup Environment Id'),
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class IconImage extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'icon_image' => t('Icon Image'),
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class NotesUrl extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'notes_url' => t('Notes Url'),
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class Notification extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Notification Environment Id'),
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class NotificationHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'id' => t('Notification History Id'),
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class Notificationcommand extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'zone_id' => t('Notificationcommand Zone Id'),
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class NotificationcommandArgument extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'notificationcommand_id' => t('Notificationcommand Argument Command Id'),
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class NotificationcommandEnvvar extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'notificationcommand_id' => t('Notificationcommand Envvar Command Id'),
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class Service extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Service Environment Id'),
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class ServiceState extends State
|
|||
return 'service_id';
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Service State Environment Id'),
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class Servicegroup extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Servicegroup Environment Id'),
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class StateHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('State Environment Id (History)'),
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class Timeperiod extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Timeperiod Environment Id'),
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class TimeperiodRange extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'timeperiod_id' => t('Timeperiod Range Period Id'),
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class User extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('User Environment Id'),
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class Usergroup extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Usergroup Environment Id'),
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class Zone extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getMetaData()
|
||||
public function getColumnDefinitions()
|
||||
{
|
||||
return [
|
||||
'environment_id' => t('Zone Environment Id'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue