Elgg  Version 4.3
Variables
password.php File Reference

Go to the source code of this file.

Variables

 $vars ['class'] = elgg_extract_class($vars, 'elgg-input-password')
 Elgg password input Displays a password input field. More...
 
 $defaults
 
 $always_empty = elgg_extract('always_empty', $vars, true)
 
 if ($always_empty)
 

Variable Documentation

$always_empty = elgg_extract('always_empty', $vars, true)

Definition at line 25 of file password.php.

$defaults
Initial value:
= [
'disabled' => false

Definition at line 15 of file password.php.

$vars = elgg_extract_class($vars, 'elgg-input-password')

Elgg password input Displays a password input field.

$vars['value'] The current value, if any $vars['name'] The name of the input field $vars['class'] Additional CSS class $vars['always_empty'] If for some reason you want to set a value to a password field, set this field to false. Best practice is to not populate password fields. $vars['add_security_requirements'] Should the security password requirements validation rules be added (default: false)

Definition at line 13 of file password.php.

if($always_empty)

Definition at line 28 of file password.php.