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 / FormSearch.php
blob19c7a2808e76a7124d81b9fe596d0b86d193561b
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 /**
15 * FormSearch view helper
17 * The difference between the Text state and the Search state is primarily stylistic:
18 * on platforms where search fields are distinguished from regular text fields,
19 * the Search state might result in an appearance consistent with the platform's
20 * search fields rather than appearing like a regular text field.
22 class FormSearch extends FormText
24 /**
25 * Determine input type to use
27 * @param ElementInterface $element
28 * @return string
30 protected function getType(ElementInterface $element)
32 return 'search';