14 'owner_guid' =>
$user->guid,
31 $label =
"{$type} {$subtype}";
$user
Elgg statistics screen.
if(! $user instanceof \ElggUser) $options
if($item instanceof \ElggEntity) elseif($item instanceof \ElggRiverItem) elseif($item instanceof \ElggRelationship) elseif(is_callable([ $item, 'getType']))
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_entity_types_with_capability(string $capability)
Returns an array of type/subtypes with the requested capability enabled.
elgg_get_entity_statistics(array $options=[])
Return an array reporting the number of various entities in the system.
elgg_language_key_exists(string $key, string $language='en')
Check if a given language key exists.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.
elgg_number_format(float $number, int $decimals=0)
Format a number with grouped thousands using language specific separators.
elgg_get_page_owner_entity()
Gets the owner entity for the current page.
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.