2015-06-02 10:49:31 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Forms;
|
|
|
|
|
|
|
|
use Icinga\Module\Director\Web\Form\DirectorObjectForm;
|
|
|
|
|
2015-06-12 11:51:12 +02:00
|
|
|
class IcingaHostGroupForm extends DirectorObjectForm
|
2015-06-02 10:49:31 +02:00
|
|
|
{
|
|
|
|
public function setup()
|
|
|
|
{
|
2015-07-30 11:33:08 +02:00
|
|
|
$this->addElement('text', 'object_name', array(
|
|
|
|
'label' => $this->translate('Hostgroup'),
|
|
|
|
'required' => true,
|
|
|
|
'description' => $this->translate('Icinga object name for this hostgroup')
|
2015-06-02 10:49:31 +02:00
|
|
|
));
|
|
|
|
|
|
|
|
$this->addElement('text', 'display_name', array(
|
|
|
|
'label' => $this->translate('Display Name'),
|
|
|
|
'description' => $this->translate('The name which should displayed.')
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|