Elgg  Version master
Go to the documentation of this file.
1 <?php
9 $value = elgg_extract('value', $vars);
10 if (!is_scalar($value)) {
11  return;
12 }
14 echo htmlspecialchars("{$value}", ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8', false);
Elgg text input Displays a text input field.
Definition: text.php:9
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:254
Elgg text output Displays some text that was input using a standard text field.
Definition: text.php:9