Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
password.php
Go to the documentation of this file.
1
<?php
14
$vars
[
'class'
] =
elgg_extract_class
(
$vars
,
'elgg-input-password'
);
15
16
$defaults
= array(
17
'disabled'
=>
false
,
18
'value'
=>
''
,
19
'autocapitalize'
=>
'off'
,
20
'autocorrect'
=>
'off'
,
21
'type'
=>
'password'
22
);
23
24
$vars
= array_merge(
$defaults
,
$vars
);
25
26
echo
elgg_format_element
(
'input'
,
$vars
);
$defaults
$defaults
Definition:
password.php:16
$vars
$vars['class']
Definition:
password.php:14
elgg_extract_class
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
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
Definition:
output.php:208
echo
elgg echo
Translates a string.
Definition:
languages.js:48
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11