mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
ViewHelperRaw: add new form decorator showing...
...raw, unfiltered values
This commit is contained in:
parent
e3852fecce
commit
da5ee55abf
14
library/Director/Web/Form/Decorator/ViewHelperRaw.php
Normal file
14
library/Director/Web/Form/Decorator/ViewHelperRaw.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Icinga\Module\Director\Web\Form\Decorator;
|
||||||
|
|
||||||
|
use Zend_Form_Decorator_ViewHelper as ViewHelper;
|
||||||
|
use Zend_Form_Element as Element;
|
||||||
|
|
||||||
|
class ViewHelperRaw extends ViewHelper
|
||||||
|
{
|
||||||
|
public function getValue($element)
|
||||||
|
{
|
||||||
|
return $element->getUnfilteredValue();
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user