Elgg  Version 6.1
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

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

Definition at line 19 of file header.php.

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

Definition at line 13 of file header.php.

$url = $widget->getURL()

Definition at line 14 of file header.php.

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

Widget object header.

$vars['entity'] ElggWidget

Definition at line 8 of file header.php.