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(empty($registered_entity_types)) $stats
if(!$user||!$user->canDelete()) $name
if(elgg_in_context('default_widgets')) $widget
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if(!$widget instanceof\ElggWidget) $entity_stats
elgg_get_entity_statistics(array $options=[])
Return an array reporting the number of various entities in the system.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_view_url(string $href, string $text=null, array $options=[])
Helper function for outputting urls.
elgg_entity_types_with_capability(string $capability)
Returns an array of type/subtypes with the requested capability enabled.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.