Elgg
Version master
views
default
output
text.php
Go to the documentation of this file.
1
<?php
9
$value
=
elgg_extract
(
'value'
,
$vars
);
10
if
(!is_scalar(
$value
)) {
11
return
;
12
}
13
14
echo htmlspecialchars(
"{$value}"
, ENT_QUOTES | ENT_SUBSTITUTE,
'UTF-8'
,
false
);
elgg_extract
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:256
$vars
$vars['class']
Elgg text input Displays a text input field.
Definition:
text.php:9
$value
$value
Elgg text output Displays some text that was input using a standard text field.
Definition:
text.php:9
Generated on Fri Aug 29 2025 00:01:59 for Elgg by
1.9.1