Elgg  Version 4.3
password.php
Go to the documentation of this file.
1 <?php
13 $vars['class'] = elgg_extract_class($vars, 'elgg-input-password');
14 
16  'disabled' => false,
17  'autocapitalize' => 'off',
18  'autocomplete' => 'off',
19  'spellcheck' => 'false',
20  'type' => 'password',
21 ];
22 
23 $vars = array_merge($defaults, $vars);
24 
25 $always_empty = elgg_extract('always_empty', $vars, true);
26 unset($vars['always_empty']);
27 
29  unset($vars['value']);
30 }
31 
$always_empty
Definition: password.php:25
$defaults
Definition: password.php:15
$vars['class']
Elgg password input Displays a password input field.
Definition: password.php:13
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:569
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:135
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
elgg echo
Translates a string.
Definition: deprecated.js:530