Elgg  Version 3.0
password.php
Go to the documentation of this file.
1 <?php
15 $vars['class'] = elgg_extract_class($vars, 'elgg-input-password');
16 
18  'disabled' => false,
19  'autocapitalize' => 'off',
20  'autocorrect' => 'off',
21  'type' => 'password'
22 ];
23 
24 $vars = array_merge($defaults, $vars);
25 
26 $always_empty = elgg_extract('always_empty', $vars, true);
27 unset($vars['always_empty']);
28 
30  unset($vars['value']);
31 }
32 
$always_empty
Definition: password.php:26
$defaults
Definition: password.php:17
$vars['class']
Definition: password.php:15
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:1153
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43
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:1131