Elgg  Version 1.11
email.php
Go to the documentation of this file.
1 <?php
12 $vars['class'] = (array) elgg_extract('class', $vars, []);
13 $vars['class'][] = 'elgg-input-email';
14 
15 $defaults = array(
16  'disabled' => false,
17  'autocapitalize' => 'off',
18  'autocorrect' => 'off',
19  'type' => 'email'
20 );
21 
22 $vars = array_merge($defaults, $vars);
23 
$defaults
Definition: email.php:15
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
$vars['class']
Definition: email.php:12
elgg echo
Translates a string.
Definition: languages.js:43