Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

pager()

Description

A generic pager function used by many display lists in ResourceSpace.

Requires the following globals to be set or passed inb the $options array
$url - Current page url
$curpage - Current page
$totalpages - Total number of pages

Parameters

ColumnTypeDefaultDescription
$break boolean true
$scrolltotop boolean true
$options array array - array of options to use instead of globals

Return

void

This article was last updated 13th December 2024 10:05 Europe/London time based on the source file dated 11th December 2024 17:45 Europe/London time.