diff options
Diffstat (limited to 'library/Director/DataType/DataTypeArray.php')
-rw-r--r-- | library/Director/DataType/DataTypeArray.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/library/Director/DataType/DataTypeArray.php b/library/Director/DataType/DataTypeArray.php new file mode 100644 index 0000000..a7667d9 --- /dev/null +++ b/library/Director/DataType/DataTypeArray.php @@ -0,0 +1,14 @@ +<?php + +namespace Icinga\Module\Director\DataType; + +use Icinga\Module\Director\Hook\DataTypeHook; +use Icinga\Module\Director\Web\Form\QuickForm; + +class DataTypeArray extends DataTypeHook +{ + public function getFormElement($name, QuickForm $form) + { + return $form->createElement('extensibleSet', $name); + } +} |