Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
tag.php
Go to the documentation of this file.
1
<?php
11
$vars
[
'class'
] =
elgg_extract_class
(
$vars
,
'elgg-input-tag'
);
12
13
$defaults
= [
14
'autocapitalize'
=>
'off'
,
15
'type'
=>
'text'
,
16
];
17
18
$vars
= array_merge(
$defaults
,
$vars
);
19
20
echo
elgg_format_element
(
'input'
,
$vars
);
$defaults
$defaults
Definition:
tag.php:13
$vars
$vars['class']
Elgg tag input.
Definition:
tag.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:279
Generated on Wed Dec 4 2024 00:00:23 for Elgg by
1.8.11