blob: 3b2fc617956caf45ae017acac720cf56ff23fdd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* @package Elgg
* @subpackage Core
*/
if (isset($vars['items']) && is_array($vars['items']) && !empty($vars['items'])) {
$i = 1;
foreach($vars['items'] as $item) {
if ($i++ >= $vars['limit']) {
break;
}
$entity = get_entity($item->object_guid);
echo elgg_view_entity($entity);
}
}
|