Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
elements
sidebar_alt.php
Go to the documentation of this file.
1
<?php
8
$sidebar_alt
=
elgg_extract
(
'sidebar_alt'
,
$vars
);
9
if
(empty(
$sidebar_alt
)) {
10
return
;
11
}
12
13
echo
elgg_format_element
(
'aside'
, [
'class'
=>
'elgg-layout-sidebar-alt'
],
$sidebar_alt
);
$sidebar_alt
$sidebar_alt
Second layout sidebar.
Definition:
sidebar_alt.php:8
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:256
$vars
$vars
Definition:
theme.php:5
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 Wed Dec 4 2024 00:00:23 for Elgg by
1.8.11