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