if(!$item instanceof ElggRiverItem) $object
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if(!$subject instanceof ElggUser||!$object instanceof ElggUser) $subject_icon
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_view_entity_icon(\ElggEntity $entity, string $size= 'medium', array $vars=[])
View the icon of an entity.
elgg_view_icon(string $name, array $vars=[])
View an icon glyph.