2013-07-16 15:39:47 +02:00
|
|
|
<?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
|
2013-08-20 17:06:44 +02:00
|
|
|
*
|
2013-07-16 15:39:47 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $helper = 'formNote';
|
2013-08-14 14:52:47 +02:00
|
|
|
|
2013-08-20 17:06:44 +02:00
|
|
|
/**
|
|
|
|
* Return true to ensure redrawing
|
|
|
|
*
|
|
|
|
* @param mixed $value The value of to validate (ignored)
|
|
|
|
* @return bool Always true
|
|
|
|
*/
|
2013-08-14 14:52:47 +02:00
|
|
|
public function isValid($value)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2013-07-17 14:08:07 +02:00
|
|
|
}
|