Elgg  Version 1.9
Namespaces | Variables
list.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $items = $vars['items']
 
 $offset = elgg_extract('offset', $vars)
 
 $limit = elgg_extract('limit', $vars)
 
 $count = elgg_extract('count', $vars)
 
 $base_url = elgg_extract('base_url', $vars, '')
 
 $pagination = elgg_extract('pagination', $vars, true)
 
 $offset_key = elgg_extract('offset_key', $vars, 'offset')
 
 $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_class = 'elgg-list'
 
if(isset($vars['list_class'])) $item_class = 'elgg-item'
 
if(isset($vars['item_class'])) $html = ""
 
 $nav = ""
 
if($position=='before'|| $position=='both') if ( $position=='after'||$position=='both')
 

Variable Documentation

◆ $base_url

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

Definition at line 24 of file list.php.

◆ $count

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

Definition at line 23 of file list.php.

◆ $html

foreach ( $items as $item) $html = ""

Definition at line 49 of file list.php.

◆ $item_class

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

Definition at line 44 of file list.php.

◆ $items

$items = $vars['items']

Definition at line 20 of file list.php.

◆ $limit

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

Definition at line 22 of file list.php.

◆ $list_class

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

Definition at line 39 of file list.php.

◆ $nav

$nav = ""

Definition at line 50 of file list.php.

◆ $no_results

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

Definition at line 28 of file list.php.

◆ $offset

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

Definition at line 21 of file list.php.

◆ $offset_key

$offset_key = elgg_extract('offset_key', $vars, 'offset')

Definition at line 26 of file list.php.

◆ $pagination

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

Definition at line 25 of file list.php.

◆ $position

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

Definition at line 27 of file list.php.

◆ if

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

Definition at line 91 of file list.php.