ViewHelperRaw: add new form decorator showing...

...raw, unfiltered values
This commit is contained in:
Thomas Gelf 2016-05-19 14:53:41 +02:00
parent e3852fecce
commit da5ee55abf
1 changed files with 14 additions and 0 deletions

View 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();
}
}