Elgg  Version master
Variables
content.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('entity', $vars)
 Content stats widget. More...
 
if(!$widget instanceof\ElggWidget) $entity_stats = elgg_get_entity_statistics()
 
 $registered_entity_types = elgg_entity_types_with_capability('searchable')
 
if(empty($registered_entity_types)) $stats = []
 
 foreach ($stats as $name=> $num)
 

Variable Documentation

if (!$widget instanceof\ElggWidget) $entity_stats = elgg_get_entity_statistics()

Definition at line 11 of file content.php.

$registered_entity_types = elgg_entity_types_with_capability('searchable')

Definition at line 13 of file content.php.

if (empty($registered_entity_types)) $stats = []

Definition at line 20 of file content.php.

$widget = elgg_extract('entity', $vars)

Content stats widget.

Definition at line 6 of file content.php.

foreach($stats as $name=> $num)

Definition at line 40 of file content.php.