33 echo
'<table class="elgg-table">';
41 echo
"<tr><td>{$name}</td><td>{$num}</td></tr>";
47 echo
elgg_view(
'page/components/list/widget_more', [
if(! $user||! $user->canDelete()) $name
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_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_url(string $href, ?string $text=null, array $options=[])
Helper function for outputting urls.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
if(elgg_in_context('default_widgets')) $widget
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.
if(! $widget instanceof \ElggWidget) $entity_stats
if(empty($registered_entity_types)) $stats