Elgg  Version 5.0
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);
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
Layout body.
Definition: body.php:18
Definition: html.php:24
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
Definition: body.php:20