Elgg  Version 5.0
body.php
Go to the documentation of this file.
1 <?php
18 $filter = elgg_view('page/layouts/elements/filter', $vars);
19 $content = elgg_view('page/layouts/elements/content', $vars);
20 $footer = elgg_view('page/layouts/elements/footer', $vars);
21 
22 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:177
$filter
Layout body.
Definition: body.php:18
$vars['head']
Definition: html.php:24
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
$footer
Definition: body.php:20