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