PagingController
extends ListingHandler
in package
Paging controller
Tags
Table of Contents
Properties
- $countPerPage : mixed
- $currentPage : mixed
Methods
- __construct() : mixed
- handle() : array<string|int, mixed>
- Handles the listing by changing parameters like limit and offset
Properties
$countPerPage
protected
mixed
$countPerPage
= 0
$currentPage
protected
mixed
$currentPage
= 0
Methods
__construct()
public
__construct() : mixed
handle()
Handles the listing by changing parameters like limit and offset
public
handle(mixed $config, mixed $params) : array<string|int, mixed>
Parameters
- $config : mixed
-
Configuration
- $params : mixed
-
Parameters
Return values
array<string|int, mixed> —The handled parameters