24 'class' =>
'elgg-profile-field-icon',
30 'class' =>
'elgg-profile-field-label',
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
$value
Outputs a field with a label.
elgg_view_icon(string $name, array $vars=[])
View an icon glyph.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
if(elgg_is_empty($value)) $icon