Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
error.php
Go to the documentation of this file.
1
<?php
10
$class
=
elgg_extract_class
(
$vars
, [
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
$vars['filter']
Definition:
error.php:17
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$class
$class
Error layout.
Definition:
error.php:10
elgg_format_element
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition:
output.php:145
elgg_extract_class
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
Generated on Sat Sep 7 2024 00:02:47 for Elgg by
1.8.11