Elgg  Version 3.0
Namespaces | Variables
list.php File Reference

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
 

Variable Documentation

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

Definition at line 24 of file list.php.

$index = 0

Definition at line 51 of file list.php.

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

Definition at line 23 of file list.php.

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

Definition at line 42 of file list.php.

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

Definition at line 44 of file list.php.

$list_items = ''

Definition at line 52 of file list.php.

if (empty($list_item_view)||!elgg_view_exists($list_item_view)) $nav = ($pagination) ? elgg_view('navigation/pagination', $vars) : ''

Definition at line 49 of file list.php.

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

Definition at line 27 of file list.php.

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

Definition at line 25 of file list.php.

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

Definition at line 26 of file list.php.

foreach ($items as $item) if ($position== 'before'||$position== 'both') if (empty($list_items)&&$no_results) else
Initial value:
{
$list_items
Definition: list.php:52
if($no_results===true) if(!$items &&$no_results) if(!is_array($items)||count($items)==0) $list_classes
Definition: list.php:42
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43

Definition at line 77 of file list.php.