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