Jelix 1.8.13

function.pagelinks.php

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

copyright

2007-2022 Laurent Jouanneau

copyright

2007 Christian Tritten

contributor

Christian Tritten (christian.tritten@laposte.net)

see
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_function_html_pagelinks()  : mixed
displays page links.

Functions

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

Tags
Return values
mixed

Search results