API Documentation

Form/Element/Password.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Form
subpackage
Element
Classes
Zend_Form_Element_Password

Description

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.

Zend_Form_Element_Password

Extends from
Zend_Form_Element_Xhtml
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Form
subpackage
Element
version
$Id: Password.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$helper
$renderPassword
Methods
setRenderPassword
renderPassword
isValid

Description

Password form element

Properties

$helper

string $helper = 'formPassword'

Use formPassword view helper by default

Details

$helper
string
visibility
public
default
formPassword
final
false
static
false

$renderPassword

bool $renderPassword = 'false'

Whether or not to render the password

Details

$renderPassword
bool
visibility
public
default
false
final
false
static
false

Methods

isValid

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

Override isValid()

Ensure that validation error messages mask password value.

Arguments
$value
string
$context
mixed
Output
bool
Details
visibility
public
final
false
static
false

renderPassword

renderPassword( ) : bool

Get value of renderPassword flag

Output
bool
Details
visibility
public
final
false
static
false

setRenderPassword

setRenderPassword( bool $flag ) : Zend_Form_Element_Password

Set flag indicating whether or not to render the password

Arguments
$flag
bool
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.