Elgg  Version 6.1
email.php
Go to the documentation of this file.
1 <?php
9 $vars['class'] = elgg_extract_class($vars, 'elgg-input-email');
10 
12  'autocapitalize' => 'off',
13  'type' => 'email',
14 ];
15 
16 $vars = array_merge($defaults, $vars);
17 
18 echo elgg_format_element('input', $vars);
$vars['class']
Elgg email input Displays an email input field.
Definition: email.php:9
$defaults
Definition: email.php:11
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:279