Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
url.php
Go to the documentation of this file.
1
<?php
9
elgg_import_esm
(
'input/url'
);
10
11
$vars
[
'class'
] =
elgg_extract_class
(
$vars
,
'elgg-input-url'
);
12
13
$defaults
= [
14
'autocapitalize'
=>
'off'
,
15
'type'
=>
'url'
,
16
];
17
18
$vars
= array_merge(
$defaults
,
$vars
);
19
20
echo
elgg_format_element
(
'input'
,
$vars
);
$defaults
$defaults
Definition:
url.php:13
elgg_import_esm
elgg_import_esm(string $name)
Helper functions for external files like css/js.
Definition:
external_files.php:15
$vars
$vars['class']
Definition:
url.php:11
elgg_format_element
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition:
output.php:145
elgg_extract_class
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:277
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11