Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
rss
page
components
list.php
Go to the documentation of this file.
1
<?php
8
$items
=
elgg_extract
(
'items'
,
$vars
);
9
10
if
(is_array(
$items
) &&
count
(
$items
) > 0) {
11
foreach
(
$items
as
$item
) {
12
echo
elgg_view_list_item
($item,
$vars
);
13
}
14
}
$item
if(!$items) $item
Definition:
delete.php:13
count
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_list_item
elgg_view_list_item($item, array $vars=[])
View an item in a list.
Definition:
views.php:1232
$items
$items
View a list of items.
Definition:
list.php:19
$vars
$vars
Definition:
theme.php:5
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11