Elgg  Version master
error.php
Go to the documentation of this file.
1 <?php
11  'elgg-layout',
12  'elgg-layout-one-column',
13  'elgg-layout-error',
14 ]);
15 unset($vars['class']);
16 
17 $vars['filter'] = false;
18 
19 echo elgg_format_element('div', ['class' => $class], elgg_view('page/layouts/elements/body', $vars));
$vars['filter']
Definition: error.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$class
Error layout.
Definition: error.php:10
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:277