Elgg  Version 3.0
error.php
Go to the documentation of this file.
1 <?php
11  'elgg-layout',
12  'elgg-layout-one-column',
13  'elgg-layout-error',
14  'clearfix',
15 ]);
16 unset($vars['class']);
17 
18 $vars['breadcrumbs'] = false;
19 $vars['filter'] = false;
20 
21 $header = elgg_view('page/layouts/elements/header', $vars);
22 $body = elgg_view('page/layouts/elements/body', $vars);
23 
25  'class' => 'elgg-layout-columns',
26 ], $body);
27 
29  'class' => $class,
30 ], $header . $layout);
$layout
Definition: error.php:24
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:1153
$header
Definition: error.php:21
$class
Error layout.
Definition: error.php:10
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
$body
Definition: error.php:22
elgg echo
Translates a string.
Definition: languages.js:43
$vars['breadcrumbs']
Definition: error.php:18
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246