Elgg  Version 3.0
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $sections = elgg_extract('sections', $vars)
 Renders a standard HTML page shell. More...
 
if(empty($sections)) $page = ''
 
foreach($sections as $section=> $content) $page_vars = elgg_extract('page_attrs', $vars, [])
 
 $page_vars ['class'] = elgg_extract_class($page_vars, ['elgg-page', 'elgg-page-default'])
 
 $body = elgg_format_element('div', $page_vars, $page)
 
 $head = elgg_view('page/elements/head', elgg_extract('head', $vars, []))
 
 $params
 

Variable Documentation

$body = elgg_format_element('div', $page_vars, $page)

Definition at line 44 of file default.php.

$head = elgg_view('page/elements/head', elgg_extract('head', $vars, []))

Definition at line 48 of file default.php.

if (empty($sections)) $page = ''

Definition at line 32 of file default.php.

foreach ($sections as $section=> $content) $page_vars = elgg_extract('page_attrs', $vars, [])

Definition at line 41 of file default.php.

$page_vars['class'] = elgg_extract_class($page_vars, ['elgg-page', 'elgg-page-default'])

Definition at line 42 of file default.php.

$params
Initial value:
= [
'head' => $head
$head
Definition: default.php:48

Definition at line 50 of file default.php.

$sections = elgg_extract('sections', $vars)

Renders a standard HTML page shell.

$vars['section'] An array of page sections to render $vars['html_attrs'] Attributes of the <html> tag $vars['head'] Parameters for the <head> element $vars['body_attrs'] Attributes of the <body> tag $vars['page_attrs'] Attributes of the .elgg-page container $vars['title'] Title of the page $vars['body'] The main content of the page $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()

Definition at line 16 of file default.php.