phpDocumentor

OptionFilterService

Interface OptionFilterService

Tags
deprecated

Since 4.7, the gambio shop-system supports submodules. Those product domains will be refactored into submodules too. All important changes will be documented in the developer journal as soon as they are implemented.

Table of Contents

filterOptions()  : Options
Returns a filtered, sorted, paginated collection of options.
getOptionsTotalCount()  : int
Returns the total count of filtered options.

Methods

filterOptions()

Returns a filtered, sorted, paginated collection of options.

public filterOptions(array<string|int, mixed> $filters[, string|null $sorting = null ][, int $limit = 25 ], int $offset) : Options
Parameters
$filters : array<string|int, mixed>
$sorting : string|null = null
$limit : int = 25
$offset : int
Return values
Options

getOptionsTotalCount()

Returns the total count of filtered options.

public getOptionsTotalCount(array<string|int, mixed> $filters) : int
Parameters
$filters : array<string|int, mixed>
Return values
int

Search results