Elgg  Version 1.11
Variables
content.php File Reference

Go to the source code of this file.

Variables

 $num_display = sanitize_int($vars['entity']->num_display, false)
 Content stats widget. More...
 
if(! $num_display) $entity_stats = get_entity_statistics()
 
 $object_stats = elgg_extract('object', $entity_stats)
 
 foreach ( $object_stats as $subtype=> $num)
 

Variable Documentation

◆ $entity_stats

if (! $num_display) $entity_stats = get_entity_statistics()

Definition at line 12 of file content.php.

◆ $num_display

$num_display = sanitize_int($vars['entity']->num_display, false)

Content stats widget.

Definition at line 6 of file content.php.

◆ $object_stats

$object_stats = elgg_extract('object', $entity_stats)

Definition at line 13 of file content.php.

◆ foreach

foreach($object_stats as $subtype=> $num) (   $object_stats as,
  $num 
)

Definition at line 20 of file content.php.