Go to the source code of this file.
|
| $items = elgg_extract('items', $vars) |
|
| $pagination = elgg_extract('pagination', $vars, true) |
|
| $position = elgg_extract('position', $vars, 'after') |
|
| $columns = elgg_extract('columns', $vars) |
|
if(empty($columns)||!is_array($columns)) if(!is_array($items)||count($items)==0) | $headings = '' |
|
| $table_classes = elgg_extract_class($vars, ['elgg-list', 'elgg-table'], 'list_class') |
|
| $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : '' |
|
| $rows = '' |
|
foreach($items as $item) | $body = "$headings<tbody>$rows</tbody>" |
|
| if ($position== 'before'||$position== 'both') |
|
if($position== 'after'||$position== 'both') | $limit = elgg_extract('limit', $vars) |
|
foreach ($items as $item) $body = "$headings<tbody>$rows</tbody>" |
foreach ($columns as $column) $headings = '' |
if ($position== 'after'||$position== 'both') $limit = elgg_extract('limit', $vars) |
$nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : '' |
if($position== 'before'||$position== 'both') |