19 echo
'<table class="elgg-table-alt">';
20 echo
'<tr><th>' .
elgg_echo(
'widget:content_stats:type') .
'</th>';
21 echo
'<th>' .
elgg_echo(
'widget:content_stats:number') .
'</th></tr>';
24 echo
"<tr><td>$name</td><td>$num</td></tr>";
28 echo
'<div class="mtm elgg-widget-more">';
30 'href' =>
'admin/statistics/overview',
if($guid==elgg_get_logged_in_user_guid()) $name
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
sanitize_int($int, $signed=true)
Sanitizes an integer for database use.
get_entity_statistics($owner_guid=0)
Return an array reporting the number of various entities in the system.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype='')
Return a parsed view.
if(elgg_in_context('default_widgets')) $widget
if(! $num_display) $entity_stats