Dashboard\Classes\ReportDataPaginationParams
Overview
ReportDataPaginationParams defines pagination parameters for a data source query
Public Methods
public __construct()
public __construct(int $recordsPerPage, int $currentPage): void
Creates a pagination parameters object.
public getCurrentPage()
public getCurrentPage(): int
Returns the current page value
public getOffset()
public getOffset(): int
Returns the first record offset for building an SQL query.
public getRecordsPerPage()
public getRecordsPerPage(): int
Returns the records per page value