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) |
| |
◆ $body
| foreach ( $items as $item) $body = "$headings<tbody>$rows</tbody>" |
◆ $columns
◆ $headings
| foreach ( $columns as $column) $headings = '' |
◆ $items
◆ $limit
| if ( $position=='after'||$position=='both') $limit = elgg_extract('limit', $vars) |
◆ $nav
| $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : '' |
◆ $pagination
◆ $position
◆ $rows
◆ $table_classes
◆ if
| if($position=='before'|| $position=='both') |
( |
|
$position = = 'before' || $position == 'both' | ) |
|