3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Form\View\Helper
;
12 use Zend\Form\ElementInterface
;
14 class FormNumber
extends FormInput
17 * Attributes valid for the input tag type="number"
21 protected $validTagAttributes = array(
23 'autocomplete' => true,
31 'placeholder' => true,
39 * Determine input type to use
41 * @param ElementInterface $element
44 protected function getType(ElementInterface
$element)