Form/Element/Password.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Form
- Subpackage
- Element
\Zend_Form_Element_Password
Package: Zend_Form\Element

Returns

Password form element
- Parent(s)
- \Zend_Form_Element_Xhtml < \Zend_Form_Element
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Properties


string $helper = 'formPassword'
Use formPassword view helper by default
Default value
'formPassword'
Details- Type
- string
Methods


isValid(string $value, mixed $context = null) : bool
Override isValid()
Ensure that validation error messages mask password value.
ParametersName | Type | Description |
---|---|---|
$value | string | |
$context | mixed |
Type | Description |
---|---|
bool |


setRenderPassword(bool $flag) : \Zend_Form_Element_Password
Set flag indicating whether or not to render the password
Parameters
Returns
Name | Type | Description |
---|---|---|
$flag | bool |
Type | Description |
---|---|
\Zend_Form_Element_Password |