27 'id' =>
"elgg-input-" . base_convert(mt_rand(), 10, 36),
36 unset(
$vars[
'editor_options']);
37 unset(
$vars[
'editor']);
38 unset(
$vars[
'visual']);
42 $value = htmlspecialchars(
$vars[
'value'], ENT_QUOTES,
'UTF-8');
43 unset(
$vars[
'value']);
46 'sort_by' =>
'priority',
47 'class' =>
'elgg-menu-hz',
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
elgg echo
Translates a string.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view_menu($menu, array $vars=array())
Render a menu.