|
Size: | 8522 |
Storage flags: | no_autoload,compress/gzip (32%) |
Zend\Form\Element\Textarea represents a textarea form input. It can be used with the Zend\Form\View\Helper\FormTextarea view helper.
Zend\Form\Element\Textarea extends from Zend\Form\Element.
Basic Usage
This element automatically adds a "type" attribute of value "textarea".
1 2 3 4 5 6 7 8 | use Zend\Form\Element;
use Zend\Form\Form;
$textarea = new Element\Textarea('my-textarea');
$textarea->setLabel('Enter a description');
$form = new Form('my-form');
$form->add($textarea);
|
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.