Add description field

This commit is contained in:
Hans Rakers 2019-01-04 14:19:06 +01:00 committed by Thomas Gelf
parent eae7a8ab86
commit 0e5d88ada6
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
'description' => $this->translate('e.g. -H or --hostname, empty means "skip_key"') 'description' => $this->translate('e.g. -H or --hostname, empty means "skip_key"')
)); ));
$this->addElement('text', 'description', array(
'label' => $this->translate('Description'),
'description' => $this->translate('Description of the argument')
));
$this->addElement('select', 'argument_format', array( $this->addElement('select', 'argument_format', array(
'label' => $this->translate('Value type'), 'label' => $this->translate('Value type'),
'multiOptions' => array( 'multiOptions' => array(