Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
json
page
components
list.php
Go to the documentation of this file.
1
<?php
8
$items
=
$vars
[
'items'
];
9
10
$list
=
'['
;
11
if
(is_array(
$items
) &&
sizeof
(
$items
) > 0) {
12
foreach
(
$items
as
$item
) {
13
$list
.=
elgg_view_list_item
($item,
$vars
);
14
$list
.=
','
;
15
}
16
$list
= rtrim(
$list
,
','
);
17
}
18
19
$list
.=
']'
;
20
21
echo
$list
;
elgg_view_list_item
elgg_view_list_item($item, array $vars=array())
View an item in a list.
Definition:
views.php:1345
$list
$list
Definition:
list.php:10
$item
$item
Definition:
item.php:12
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$items
$items
Definition:
list.php:11
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11