Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
walled_garden.php
Go to the documentation of this file.
1
<?php
12
elgg_unregister_external_file
(
'css'
,
'elgg'
);
13
elgg_load_external_file
(
'css'
,
'elgg.walled_garden'
);
14
15
// render content before head so that JavaScript and CSS can be loaded. See #4032
16
$messages
=
elgg_view
(
'page/elements/messages'
, [
'object'
=>
elgg_extract
(
'sysmessages'
,
$vars
)]);
17
$header
=
elgg_view
(
'page/elements/walled_garden/header'
,
$vars
);
18
$footer
=
elgg_view
(
'page/elements/walled_garden/footer'
,
$vars
);
19
20
$body
=
elgg_view
(
'page/elements/walled_garden/body'
, [
21
'messages'
=>
$messages
,
22
'header'
=>
$header
,
23
'content'
=>
elgg_extract
(
'body'
,
$vars
),
24
'footer'
=>
$footer
,
25
]);
26
$body
.=
elgg_view
(
'page/elements/foot'
);
27
28
$head
=
elgg_view
(
'page/elements/head'
,
elgg_extract
(
'head'
,
$vars
, []));
29
30
echo
elgg_view
(
'page/elements/html'
, [
31
'head'
=>
$head
,
32
'body'
=>
$body
,
33
]);
$footer
$footer
Definition:
walled_garden.php:18
elgg_unregister_external_file
elgg_unregister_external_file(string $type, string $name)
Unregister an external file.
Definition:
external_files.php:79
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
$body
$body
Definition:
walled_garden.php:20
elgg_load_external_file
elgg_load_external_file(string $type, string $name)
Load an external resource for use on this page.
Definition:
external_files.php:92
$header
$header
Definition:
walled_garden.php:17
$vars
$vars
Definition:
theme.php:5
$messages
$messages
Definition:
walled_garden.php:16
$head
$head
Definition:
walled_garden.php:28
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11