Elgg  Version master
Variables
header.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('entity', $vars)
 Widget object header. More...
 
if(! $widget instanceof \ElggWidget$title_text = $widget->getDisplayName()
 
 $url = $widget->getURL()
 
if(!empty($url)) $title = elgg_format_element('h2', ['class' => 'elgg-widget-title'], $title_text)
 

Variable Documentation

◆ $title

if (!empty( $url)) $title = elgg_format_element('h2', ['class' => 'elgg-widget-title'], $title_text)

Definition at line 19 of file header.php.

◆ $title_text

if (! $widget instanceof \ElggWidget) $title_text = $widget->getDisplayName()

Definition at line 13 of file header.php.

◆ $url

$url = $widget->getURL()

Definition at line 14 of file header.php.

◆ $widget

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

Widget object header.

@uses $vars['entity'] ElggWidget

Definition at line 8 of file header.php.