Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Form / View / Helper / FormText.php
blob2cbeb4820c0323af768d0b8cb1d671787c687ca9
1 <?php
2 /**
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
8 */
10 namespace Zend\Form\View\Helper;
12 use Zend\Form\ElementInterface;
14 class FormText extends FormInput
16 /**
17 * Attributes valid for the input tag type="text"
19 * @var array
21 protected $validTagAttributes = array(
22 'name' => true,
23 'autocomplete' => true,
24 'autofocus' => true,
25 'dirname' => true,
26 'disabled' => true,
27 'form' => true,
28 'list' => true,
29 'maxlength' => true,
30 'pattern' => true,
31 'placeholder' => true,
32 'readonly' => true,
33 'required' => true,
34 'size' => true,
35 'type' => true,
36 'value' => true,
39 /**
40 * Determine input type to use
42 * @param ElementInterface $element
43 * @return string
45 protected function getType(ElementInterface $element)
47 return 'text';