Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
elements
body.php
Go to the documentation of this file.
1
<?php
11
$result
=
elgg_view
(
'page/layouts/elements/breadcrumbs'
,
$vars
);
12
$result
.=
elgg_view
(
'page/layouts/elements/header'
,
$vars
);
13
$result
.=
elgg_view
(
'page/layouts/elements/filter'
,
$vars
);
14
$result
.=
elgg_view
(
'page/layouts/elements/content'
,
$vars
);
15
$result
.=
elgg_view
(
'page/layouts/elements/footer'
,
$vars
);
16
17
$tag_name
=
elgg_extract
(
'entity'
,
$vars
) instanceof \
ElggEntity
? 'article' : 'div';
18
19
echo
elgg_format_element
(
$tag_name
, ['class' => '
elgg
-layout-body'],
$result
);
elgg
elgg
Definition:
install.js:27
$result
$result
Layout body.
Definition:
body.php:11
elgg_extract
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:254
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$tag_name
$tag_name
Definition:
body.php:17
$vars
$vars
Definition:
theme.php:5
ElggEntity
Definition:
ElggEntity.php:52
elgg_format_element
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition:
output.php:145
Generated on Sat Dec 21 2024 00:02:53 for Elgg by
1.8.11