* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team * */ // {{{ICINGA_LICENSE_HEADER}}} /** * Helper to generate a number input */ class Zend_View_Helper_FormNumber extends \Zend_View_Helper_FormText { /** * Generates a html number input * * @access public * * @param string $name The element name. * @param string $value The default value. * @param array $attribs Attributes which should be added to the input tag. * * @return string The input tag and options XHTML. */ public function formNumber($name, $value = null, $attribs = null) { return '_htmlAttribs($attribs) . $this->getClosingBracket(); } } // @codingStandardsIgnoreStop