num_display, false); // set default value for display number if (!$num_display) { $num_display = 8; } $entity_stats = get_entity_statistics(); $object_stats = elgg_extract('object', $entity_stats); arsort($object_stats); $object_stats = array_slice($object_stats, 0, $num_display); echo '
' . elgg_echo('widget:content_stats:type') . ' | '; echo '' . elgg_echo('widget:content_stats:number') . ' |
---|---|
$name | $num |