Elgg  Version 2.3
email.php
Go to the documentation of this file.
1 <?php
12 $vars['class'] = elgg_extract_class($vars, 'elgg-input-email');
13 
14 $defaults = array(
15  'disabled' => false,
16  'autocapitalize' => 'off',
17  'autocorrect' => 'off',
18  'type' => 'email'
19 );
20 
21 $vars = array_merge($defaults, $vars);
22 
$defaults
Definition: email.php:14
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
Definition: elgglib.php:1396
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
Definition: output.php:208
$vars['class']
Definition: email.php:12
elgg echo
Translates a string.
Definition: languages.js:48