function.pagelinks.php
Tags
Table of Contents
- jtpl_function_html_pagelinks() : mixed
- displays page links
Functions
jtpl_function_html_pagelinks()
displays page links
jtpl_function_html_pagelinks(jTpl $tpl, string $action, array<string|int, mixed> $actionParams, int $itemsTotal, int $offset[, int $pageSize = 15 ][, string $paramName = 'offset' ][, array<string|int, mixed> $displayProperties = array() ]) : mixed
Parameters
- $tpl : jTpl
-
template engine
- $action : string
-
selector of the action
- $actionParams : array<string|int, mixed>
-
parameters for the action
- $itemsTotal : int
-
number of items
- $offset : int
-
index of the first item to display
- $pageSize : int = 15
-
items number in a page
- $paramName : string = 'offset'
-
name of the parameter in the actionParams which will content a page offset
- $displayProperties : array<string|int, mixed> = array()
-
properties for the links display