resultSet
in package
implements
JsonSerializable
Uses
jsonSerializeReturnObject
Global search indexer result set
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $count : int
- Search total count
- $items : array<string|int, mixed>
- List of resultItem objects
- $lightbox : bool
- Init lightbox for result list
- __construct() : mixed
- Constructor
- getCount() : int
- Get total search count
- getItems() : array<string|int, mixed>
- Get list of items
- getLightbox() : bool
- Get lightbox init flag
Properties
$count
Search total count
private
int
$count
$items
List of resultItem objects
private
array<string|int, mixed>
$items
$lightbox
Init lightbox for result list
private
bool
$lightbox
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed> $items, int $count, bool $lightbox) : mixed
Parameters
- $items : array<string|int, mixed>
- $count : int
- $lightbox : bool
Return values
mixed —getCount()
Get total search count
public
getCount() : int
Return values
int —getItems()
Get list of items
public
getItems() : array<string|int, mixed>
Return values
array<string|int, mixed> —getLightbox()
Get lightbox init flag
public
getLightbox() : bool