Elgg  Version 6.1
Variables
table.php File Reference

Go to the source code of this file.

Variables

 $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)
 

Variable Documentation

foreach ($items as $item) $body = "$headings<tbody>$rows</tbody>"

Definition at line 103 of file table.php.

$columns = elgg_extract('columns', $vars)

Definition at line 30 of file table.php.

foreach ($columns as $column) $headings = ''

Definition at line 41 of file table.php.

$items = elgg_extract('items', $vars)

Definition at line 25 of file table.php.

if ($position== 'after'||$position== 'both') $limit = elgg_extract('limit', $vars)

Definition at line 115 of file table.php.

$nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : ''

Definition at line 60 of file table.php.

$pagination = elgg_extract('pagination', $vars, true)

Definition at line 26 of file table.php.

$position = elgg_extract('position', $vars, 'after')

Definition at line 27 of file table.php.

$rows = ''

Definition at line 62 of file table.php.

$table_classes = elgg_extract_class($vars, ['elgg-list', 'elgg-table'], 'list_class')

Definition at line 58 of file table.php.

if($position== 'before'||$position== 'both')

Definition at line 105 of file table.php.