elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
if(! $entity instanceof \ElggUser) $value
$entity
Render the last login timestamp.
if( $format==='friendly')
if(empty($value)) $format
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.