aboutsummaryrefslogtreecommitdiff
path: root/views/json/search/entity_list.php
blob: 8712f71341d81d63cfaf523ce6bc8dd2f9b00b4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

	/**
	 * Elgg default layout
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008-2009
	 * @link http://elgg.org/
	 */

	$entities = $vars['entities'];
	if (is_array($entities) && sizeof($entities) > 0) {
		foreach($entities as $entity)
			echo elgg_view_entity($entity);
	}

?>