Elgg  Version master
widget_more.php
Go to the documentation of this file.
1 <?php
8 $widget_more = elgg_extract('widget_more', $vars);
9 if (empty($widget_more)) {
10  return;
11 }
12 
13 echo elgg_format_element('div', ['class' => 'elgg-widget-more'], $widget_more);
$widget_more
Widget more.
Definition: widget_more.php:8
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
$vars
Definition: theme.php:5
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145