summaryrefslogtreecommitdiffstats
path: root/library/Director/Objects/IcingaTemplateChoiceHost.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Objects/IcingaTemplateChoiceHost.php')
-rw-r--r--library/Director/Objects/IcingaTemplateChoiceHost.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/library/Director/Objects/IcingaTemplateChoiceHost.php b/library/Director/Objects/IcingaTemplateChoiceHost.php
new file mode 100644
index 0000000..10ddedd
--- /dev/null
+++ b/library/Director/Objects/IcingaTemplateChoiceHost.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace Icinga\Module\Director\Objects;
+
+class IcingaTemplateChoiceHost extends IcingaTemplateChoice
+{
+ protected $table = 'icinga_host_template_choice';
+
+ protected $objectTable = 'icinga_host';
+
+ protected $relations = array(
+ 'required_template' => 'IcingaHost',
+ );
+}