aboutsummaryrefslogtreecommitdiff
path: root/views/json/page/components/list.php
blob: 5de4f1f59a72db541a466bed3d089e213dabc28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * JSON list view
 *
 * @uses $vars['items']
 */

$items = $vars['items'];

if (is_array($items) && sizeof($items) > 0) {
	foreach ($items as $item) {
		elgg_view_list_item($item, $vars);
	}
}