Elgg  Version master
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_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
elgg_get_current_url()
Returns the current page's complete URL.
elgg_http_add_url_query_elements(string $url, array $elements)
Sets elements in a URL's query string.
Definition: elgglib.php:181

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.