Elgg
Version 3.0
|
Go to the source code of this file.
Namespaces | |
Elgg | |
Configuration exception. | |
Variables | |
$items = elgg_extract('items', $vars) | |
$count = elgg_extract('count', $vars) | |
$pagination = elgg_extract('pagination', $vars, true) | |
$position = elgg_extract('position', $vars, 'after') | |
$no_results = elgg_extract('no_results', $vars, '') | |
if($no_results===true) if(!$items &&$no_results) if(!is_array($items)||count($items)==0) | $list_classes = elgg_extract_class($vars, 'elgg-list', 'list_class') |
$list_item_view = elgg_extract('list_item_view', $vars) | |
if(empty($list_item_view)||!elgg_view_exists($list_item_view)) | $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : '' |
$index = 0 | |
$list_items = '' | |
foreach($items as $item) if($position== 'before'||$position== 'both') if(empty($list_items)&&$no_results) | else |
$count = elgg_extract('count', $vars) |
$items = elgg_extract('items', $vars) |
if ($no_results===true) if (!$items &&$no_results) if (!is_array($items)||count($items)==0) $list_classes = elgg_extract_class($vars, 'elgg-list', 'list_class') |
$list_item_view = elgg_extract('list_item_view', $vars) |
if (empty($list_item_view)||!elgg_view_exists($list_item_view)) $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : '' |
$no_results = elgg_extract('no_results', $vars, '') |
$pagination = elgg_extract('pagination', $vars, true) |
$position = elgg_extract('position', $vars, 'after') |
foreach ($items as $item) if ($position== 'before'||$position== 'both') if (empty($list_items)&&$no_results) else |