Model: Rename getMetaData into getColumnDefinitions

This commit is contained in:
Johannes Meyer 2022-06-08 15:34:01 +02:00
parent c7abd63324
commit 47332faffa
35 changed files with 35 additions and 35 deletions

View file

@ -48,7 +48,7 @@ class AcknowledgementHistory extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Acknowledgement Environment Id (History)'),

View file

@ -30,7 +30,7 @@ class ActionUrl extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'action_url' => t('Action Url'),

View file

@ -36,7 +36,7 @@ class Checkcommand extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'zone_id' => t('Checkcommand Zone Id'),

View file

@ -39,7 +39,7 @@ class CheckcommandArgument extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'checkcommand_id' => t('Checkcommand Argument Command Id'),

View file

@ -32,7 +32,7 @@ class CheckcommandEnvvar extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'checkcommand_id' => t('Checkcommand Envvar Command Id'),

View file

@ -45,7 +45,7 @@ class Comment extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Comment Environment Id'),

View file

@ -50,7 +50,7 @@ class CommentHistory extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Comment Environment Id (History)'),

View file

@ -53,7 +53,7 @@ class Downtime extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Downtime Environment Id'),

View file

@ -55,7 +55,7 @@ class DowntimeHistory extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Downtime Environment Id (History)'),

View file

@ -33,7 +33,7 @@ class Endpoint extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Endpoint Environment Id'),

View file

@ -28,7 +28,7 @@ class Environment extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'name' => t('Environment Name')

View file

@ -36,7 +36,7 @@ class Eventcommand extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'zone_id' => t('Eventcommand Zone Id'),

View file

@ -39,7 +39,7 @@ class EventcommandArgument extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'eventcommand_id' => t('Eventcommand Argument Command Id'),

View file

@ -32,7 +32,7 @@ class EventcommandEnvvar extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'eventcommand_id' => t('Eventcommand Envvar Command Id'),

View file

@ -45,7 +45,7 @@ class FlappingHistory extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Flapping Environment Id (History)'),

View file

@ -48,7 +48,7 @@ class History extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Environment Id (History)'),

View file

@ -75,7 +75,7 @@ class Host extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Host Environment Id'),

View file

@ -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'),

View file

@ -35,7 +35,7 @@ class Hostgroup extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Hostgroup Environment Id'),

View file

@ -29,7 +29,7 @@ class IconImage extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'icon_image' => t('Icon Image'),

View file

@ -30,7 +30,7 @@ class NotesUrl extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'notes_url' => t('Notes Url'),

View file

@ -44,7 +44,7 @@ class Notification extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Notification Environment Id'),

View file

@ -48,7 +48,7 @@ class NotificationHistory extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'id' => t('Notification History Id'),

View file

@ -36,7 +36,7 @@ class Notificationcommand extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'zone_id' => t('Notificationcommand Zone Id'),

View file

@ -39,7 +39,7 @@ class NotificationcommandArgument extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'notificationcommand_id' => t('Notificationcommand Argument Command Id'),

View file

@ -32,7 +32,7 @@ class NotificationcommandEnvvar extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'notificationcommand_id' => t('Notificationcommand Envvar Command Id'),

View file

@ -69,7 +69,7 @@ class Service extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Service Environment Id'),

View file

@ -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'),

View file

@ -35,7 +35,7 @@ class Servicegroup extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Servicegroup Environment Id'),

View file

@ -51,7 +51,7 @@ class StateHistory extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('State Environment Id (History)'),

View file

@ -36,7 +36,7 @@ class Timeperiod extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Timeperiod Environment Id'),

View file

@ -31,7 +31,7 @@ class TimeperiodRange extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'timeperiod_id' => t('Timeperiod Range Period Id'),

View file

@ -42,7 +42,7 @@ class User extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('User Environment Id'),

View file

@ -35,7 +35,7 @@ class Usergroup extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Usergroup Environment Id'),

View file

@ -35,7 +35,7 @@ class Zone extends Model
];
}
public function getMetaData()
public function getColumnDefinitions()
{
return [
'environment_id' => t('Zone Environment Id'),