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 / FormDateTime.php
bloba3692313e40a38a0c094b8e1e50fbbdcf6ff08ac
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 FormDateTime extends FormInput
16 /**
17 * Attributes valid for the input tag type="datetime"
19 * @var array
21 protected $validTagAttributes = array(
22 'name' => true,
23 'autocomplete' => true,
24 'autofocus' => true,
25 'disabled' => true,
26 'form' => true,
27 'list' => true,
28 'max' => true,
29 'min' => true,
30 'readonly' => true,
31 'required' => true,
32 'step' => true,
33 'type' => true,
34 'value' => true,
37 /**
38 * Determine input type to use
40 * @param ElementInterface $element
41 * @return string
43 protected function getType(ElementInterface $element)
45 return 'datetime';