|
Size: | 8434 |
Storage flags: | no_autoload,compress/gzip (32%) |
The FormSearch view helper can be used to render a <input type="search"> HTML5 form input.
FormSearch extends from Zend\Form\View\Helper\FormText.
Basic usage:
1 2 3 4 5 6 | use Zend\Form\Element;
$element = new Element('my-search');
// Within your view...
echo $this->formSearch($element);
|
Output:
1 | <input type="search" name="my-search" value="">
|
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.