aboutsummaryrefslogtreecommitdiff
path: root/views/json/entities/entity_list.php
blob: d5b134a71e5d4cd7e36c76e725ac44e3c7f6d69d (plain)
1
2
3
4
5
6
7
8
9
10
<?php

$entities = $vars['entities'];
$full_view = $vars['full_view'];

if (is_array($entities) && sizeof($entities) > 0) {
	foreach ($entities as $entity) {
		echo elgg_view_entity($entity, array('full_view' => $full_view));
	}
}