27 lines
627 B
PHP
27 lines
627 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Director\Objects;
|
|
|
|
use Icinga\Module\Director\IcingaConfig\IcingaConfig;
|
|
|
|
abstract class IcingaObjectGroup extends IcingaObject
|
|
{
|
|
protected $supportsImports = true;
|
|
|
|
protected $supportedInLegacy = true;
|
|
|
|
protected $defaultProperties = [
|
|
'id' => null,
|
|
'object_name' => null,
|
|
'object_type' => null,
|
|
'disabled' => 'n',
|
|
'display_name' => null,
|
|
'assign_filter' => null,
|
|
];
|
|
|
|
public function getRenderingZone(IcingaConfig $config = null)
|
|
{
|
|
return $this->connection->getDefaultGlobalZoneName();
|
|
}
|
|
}
|