Elgg  Version master
body.php
Go to the documentation of this file.
1 <?php
10 $filter = elgg_view('page/layouts/elements/filter', $vars);
11 $content = elgg_view('page/layouts/elements/content', $vars);
12 $footer = elgg_view('page/layouts/elements/footer', $vars);
13 
14 echo elgg_format_element('div', ['class' => ['elgg-main', 'elgg-body', 'elgg-layout-body']], $filter . $content . $footer);
if(!$widget instanceof\ElggWidget) $content
Definition: body.php:14
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$vars
Definition: theme.php:5
$filter
Layout body.
Definition: body.php:10
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
$footer
Definition: body.php:12