Elgg  Version 4.3
Variables
out_of_bounds.php File Reference

Go to the source code of this file.

Variables

 $items = elgg_extract('items', $vars)
 This view provides a way back to other content in the list if a user reaches a listing page out of bounds (without items, but with a count) More...
 
 $pagination = (bool) elgg_extract('pagination', $vars)
 
 $count = (int) elgg_extract('count', $vars)
 
if(!empty($items)||!$pagination||empty($count)) $link
 

Variable Documentation

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

Definition at line 8 of file out_of_bounds.php.

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

This view provides a way back to other content in the list if a user reaches a listing page out of bounds (without items, but with a count)

Definition at line 6 of file out_of_bounds.php.

if (!empty($items)||!$pagination||empty($count)) $link
Initial value:
= elgg_view('output/url', [
'text' => elgg_echo('list:out_of_bounds:link'),
'href' => elgg_http_add_url_query_elements(elgg_get_current_url(), ['offset' => null]),
])
elgg_http_add_url_query_elements($url, array $elements)
Sets elements in a URL's query string.
Definition: elgglib.php:481
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
elgg_get_current_url()
Returns the current page's complete URL.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179

Definition at line 14 of file out_of_bounds.php.

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

Definition at line 7 of file out_of_bounds.php.