WebVIEP Plugin

BoothSearchResult
in package

FinalYes

DTO for paginated booth search results.

Table of Contents

Properties

$booths  : array<string|int, Booth>
$page  : int
$perPage  : int
$total  : int

Methods

__construct()  : mixed
booths()  : array<string|int, Booth>
Booths on the current page.
page()  : int
Current page number (1-based).
perPage()  : int
Items per page.
total()  : int
Total number of booths across all pages.
totalPages()  : int
Derived total pages.

Properties

Methods

__construct()

public __construct(array<string|int, Booth$booths, int $total, int $page, int $perPage) : mixed
Parameters
$booths : array<string|int, Booth>
$total : int
$page : int
$perPage : int

total()

Total number of booths across all pages.

public total() : int
Return values
int

totalPages()

Derived total pages.

public totalPages() : int
Return values
int

        
On this page

Search results