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
;
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
25 * Determine input type to use
27 * @param ElementInterface $element
30 protected function getType(ElementInterface
$element)