DataTypeTime: Add DataType Time Hook

This commit is contained in:
Alexander Fuhr 2015-07-27 17:02:33 +02:00
parent af874afffd
commit 9c938f1953
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace Icinga\Module\Director\DataType;
use Icinga\Module\Director\Web\Form\QuickForm;
use Icinga\Module\Director\Web\Hook\DataTypeHook;
class DataTypeTime extends DataTypeHook
{
public function getFormElement($name, QuickForm $form)
{
$element = $form->createElement('text', $name);
return $element;
}
}