elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
get_entity(int $guid)
Loads and returns an entity object from a guid.
elgg_view_icon(string $name, array $vars=[])
View an icon glyph.
elgg_view_exists(string $view, string $viewtype='', bool $recurse=true)
Returns whether the specified view exists.
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
if(is_string($location) && $location !=='') $briefdescription
$relationship
Elgg (group) member relationship view.
if(! $relationship instanceof ElggRelationship) $entity_one
if(! $entity_one instanceof ElggUser||! $entity_two instanceof ElggGroup) $user_params
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.