Elgg  Version master
Variables
subtitle.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Outputs user subtitle. More...
 
if(! $entity instanceof ElggUser$subtitle = ''
 
if(! $entity->isBanned() && $entity->isValidated() !==false) elseif($entity->isBanned()) elseif($entity->isValidated()===false) if (elgg_is_empty( $subtitle))
 

Variable Documentation

◆ $entity

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

Outputs user subtitle.

@uses $vars['subtitle'] Subtitle @uses $vars['entity'] The ElggUser

Definition at line 9 of file subtitle.php.

◆ $subtitle

if (! $entity instanceof ElggUser) $subtitle = ''

Definition at line 14 of file subtitle.php.

◆ if

if (! $entity->isBanned() &&$entity->isValidated() !==false) elseif ( $entity->isBanned()) elseif ( $entity->isValidated()===false) if(elgg_is_empty($subtitle)) ( elgg_is_empty( $subtitle)  )

Definition at line 27 of file subtitle.php.