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