2016-03-09 20:53:57 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Objects;
|
|
|
|
|
2016-05-02 10:26:41 +02:00
|
|
|
use Icinga\Module\Director\IcingaConfig\IcingaConfig;
|
|
|
|
|
2016-03-09 20:53:57 +01:00
|
|
|
abstract class IcingaObjectGroup extends IcingaObject
|
|
|
|
{
|
|
|
|
protected $supportsImports = true;
|
|
|
|
|
2016-10-13 15:44:53 +02:00
|
|
|
protected $supportedInLegacy = true;
|
|
|
|
|
2018-06-08 20:45:02 +02:00
|
|
|
protected $defaultProperties = [
|
2016-10-24 05:41:37 +02:00
|
|
|
'id' => null,
|
|
|
|
'object_name' => null,
|
|
|
|
'object_type' => null,
|
|
|
|
'disabled' => 'n',
|
|
|
|
'display_name' => null,
|
|
|
|
'assign_filter' => null,
|
2018-06-08 20:45:02 +02:00
|
|
|
];
|
2016-05-02 10:26:41 +02:00
|
|
|
|
|
|
|
public function getRenderingZone(IcingaConfig $config = null)
|
|
|
|
{
|
|
|
|
return $this->connection->getDefaultGlobalZoneName();
|
|
|
|
}
|
2016-03-09 20:53:57 +01:00
|
|
|
}
|