Revert "lib: Remove form element `Note'"

This reverts commit c21d7d1fdda460050cac822e5627fd584b3f7a01.
This commit is contained in:
Alexander Fuhr 2014-09-26 16:19:44 +02:00
parent c73b291cf4
commit b2f12e1caa

View File

@ -0,0 +1,31 @@
<?php
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
namespace Icinga\Web\Form\Element;
use Zend_Form_Element_Xhtml;
/**
* Implements note element for Zend forms
*/
class Note extends Zend_Form_Element_Xhtml
{
/**
* Name of the view helper
*
* @var string
*/
public $helper = 'formNote';
/**
* Return true to ensure redrawing
*
* @param mixed $value The value of to validate (ignored)
* @return bool Always true
*/
public function isValid($value)
{
return true;
}
}