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