Form/Element/Password.php

Show: PublicProtectedPrivateinherited
Table of Contents
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
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

>VPropertypublicstring $helper = 'formPassword'
Use formPassword view helper by default
Default value'formPassword'Details
Type
string
>VPropertypublicbool $renderPassword = false
Whether or not to render the password
Default valuefalseDetails
Type
bool

Methods

methodpublicisValid(string $value, mixed $context = null) : bool

Override isValid()

Ensure that validation error messages mask password value.
Parameters
NameTypeDescription
$valuestring
$contextmixed
Returns
TypeDescription
bool
methodpublicrenderPassword() : bool

Get value of renderPassword flag

Returns
TypeDescription
bool
methodpublicsetRenderPassword(bool $flag) : \Zend_Form_Element_Password

Set flag indicating whether or not to render the password

Parameters
NameTypeDescription
$flagbool
Returns
TypeDescription
\Zend_Form_Element_Password
Documentation was generated by phpDocumentor 2.2.0 .