Elgg  Version 1.11
password.php
Go to the documentation of this file.
1 <?php
14 $vars['class'] = (array) elgg_extract('class', $vars, []);
15 $vars['class'][] = 'elgg-input-password';
16 
17 $defaults = array(
18  'disabled' => false,
19  'value' => '',
20  'autocapitalize' => 'off',
21  'autocorrect' => 'off',
22  'type' => 'password'
23 );
24 
25 $vars = array_merge($defaults, $vars);
26 
$defaults
Definition: password.php:17
$vars['class']
Definition: password.php:14
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1246
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
Definition: output.php:215
elgg echo
Translates a string.
Definition: languages.js:43