elgg_extract_class(array $array, array|string $existing=[], string $extract_key='class')
Extract class names from an array, optionally merging into a preexisting set.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view_icon(string $name, array $vars=[])
View an icon glyph.
if($icon_name !==false) $content
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.