Elgg
Version 2.3
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
;
$item
if(!$items) $item
Definition:
delete.php:17
$vars
$vars['entity']
Definition:
plugin_settings.php:15
$list
$list
Definition:
list.php:10
elgg_view_list_item
elgg_view_list_item($item, array $vars=array())
View an item in a list.
Definition:
views.php:1557
echo
elgg echo
Translates a string.
Definition:
languages.js:48
$items
$items
Definition:
list.php:11
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11