DataTypeTime: Add DataType Time Hook
This commit is contained in:
parent
af874afffd
commit
9c938f1953
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue