Elgg  Version 3.0
Variables
entity.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 
if(!$entity instanceof ElggEntity$type = $entity->getType()
 
 $subtype = $entity->getSubtype()
 
 $views
 
 foreach ($views as $view)
 

Variable Documentation

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

Definition at line 3 of file entity.php.

$subtype = $entity->getSubtype()

Definition at line 9 of file entity.php.

if (!$entity instanceof ElggEntity) $type = $entity->getType()

Definition at line 8 of file entity.php.

$views
Initial value:
= [
"search/$type/$subtype",
"search/$type/default",
]

Definition at line 11 of file entity.php.

foreach($views as $view)

Definition at line 16 of file entity.php.