Elgg
Version master
|
Go to the source code of this file.
Variables | |
$html = elgg_extract('html', $vars) | |
A wrapper to render a section of the page shell. More... | |
if(empty($html)) | $section_elements |
$class = ['elgg-page-section'] | |
$section = elgg_extract('section', $vars) | |
if(!empty($section)) | $inner = elgg_format_element('div', ['class' => 'elgg-inner'], $html) |
$element = elgg_extract($section, $section_elements, 'div') | |
$section_attributes = ['class' => $class] | |
if ( $element==='main') | |
$class = ['elgg-page-section'] |
Definition at line 20 of file section.php.
$element = elgg_extract($section, $section_elements, 'div') |
Definition at line 29 of file section.php.
$html = elgg_extract('html', $vars) |
A wrapper to render a section of the page shell.
@uses $vars['section'] Section name (e.g. navbar, header etc) @uses $vars['html'] Content of the element
Definition at line 9 of file section.php.
if (!empty( $section)) $inner = elgg_format_element('div', ['class' => 'elgg-inner'], $html) |
Definition at line 27 of file section.php.
$section = elgg_extract('section', $vars) |
Definition at line 22 of file section.php.
$section_attributes = ['class' => $class] |
Definition at line 31 of file section.php.
if (empty( $html)) $section_elements |
Definition at line 14 of file section.php.
if($element==='main') | ( | $element = == 'main' | ) |
Definition at line 32 of file section.php.