Elgg  Version 1.11
Namespaces | Variables
list.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $items = $vars['items']
 
 $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(!$items &&$no_results) if(!is_array($items)||count($items)==0) $list_classes = ['elgg-list']
 
if(isset($vars['list_class'])) $item_classes = ['elgg-item']
 
if(isset($vars['item_class'])) $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : ''
 
 $list_items = ''
 
foreach($items as $itemif ($position== 'before'||$position== 'both')
 

Variable Documentation

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

Definition at line 22 of file list.php.

if (isset($vars['list_class'])) $item_classes = ['elgg-item']

Definition at line 45 of file list.php.

$items = $vars['items']

Definition at line 21 of file list.php.

if (!$items &&$no_results) if (!is_array($items)||count($items)==0) $list_classes = ['elgg-list']

Definition at line 40 of file list.php.

$list_items = ''

Definition at line 52 of file list.php.

if (isset($vars['item_class'])) $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : ''

Definition at line 50 of file list.php.

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

Definition at line 25 of file list.php.

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

Definition at line 23 of file list.php.

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

Definition at line 24 of file list.php.

foreach ($items as $item) if($position== 'before'||$position== 'both')

Definition at line 79 of file list.php.