Zend Framework  1.12
Public Member Functions | Public Attributes | List of all members
Zend_Form_Element_Password Class Reference

Public Member Functions

 setRenderPassword ($flag)
 Set flag indicating whether or not to render the password.
 
 renderPassword ()
 Get value of renderPassword flag.
 
 isValid ($value, $context=null)
 Override isValid()
 

Public Attributes

 $helper = 'formPassword'
 
 $renderPassword = false
 

Additional Inherited Members

- Static Public Member Functions inherited from Zend_Form_Element
static resolveElementId (Zend_Form_Decorator_Interface $decorator)
 Used to resolve and return an element ID.
 
- Protected Member Functions inherited from Zend_Form_Element
 _filterValue (&$value, &$key)
 Filter a value.
 
 _getDecorator ($name, $options)
 Instantiate a decorator based on class name or class name fragment.
 
 _loadFilter (array $filter)
 Lazy-load a filter.
 
 _loadValidator (array $validator)
 Lazy-load a validator.
 
 _loadDecorator (array $decorator, $name)
 Lazy-load a decorator.
 
 _getErrorMessages ()
 Retrieve error messages and perform translation and value substitution.
 
 _hasErrorMessages ()
 Are there custom error messages registered?
 
- Protected Attributes inherited from Zend_Form_Element
 $_allowEmpty = true
 
 $_autoInsertNotEmptyValidator = true
 
 $_belongsTo
 
 $_decorators = array()
 
 $_description
 
 $_disableLoadDefaultDecorators = false
 
 $_errorMessages = array()
 
 $_errors = array()
 
 $_errorMessageSeparator = '; '
 
 $_filters = array()
 
 $_ignore = false
 
 $_isArray = false
 
 $_isError = false
 
 $_isErrorForced = false
 
 $_label
 
 $_loaders = array()
 
 $_messages = array()
 
 $_name
 
 $_order
 
 $_required = false
 
 $_translator
 
 $_translatorDisabled = false
 
 $_type
 
 $_validators = array()
 
 $_validatorRules = array()
 
 $_value
 
 $_view
 
 $_isPartialRendering = false
 
 $_concatJustValuesInErrorMessage = false
 

Member Function Documentation

isValid (   $value,
  $context = null 
)

Override isValid()

Ensure that validation error messages mask password value.

Parameters
string$value
mixed$context
Returns
bool
renderPassword ( )

Get value of renderPassword flag.

Returns
bool
setRenderPassword (   $flag)

Set flag indicating whether or not to render the password.

Parameters
bool$flag
Returns
Zend_Form_Element_Password

Member Data Documentation

$helper = 'formPassword'
$renderPassword = false