trait ApplySearchParametersTrait

Methods

applySort(FilterState $search, array $sort = null)

Apply sort criteria to a discussion search.

applyOffset(FilterState $search, int $offset)

No description

applyLimit(FilterState $search, int|null $limit)

No description

Details

protected applySort(FilterState $search, array $sort = null)

Apply sort criteria to a discussion search.

Parameters

FilterState $search
array $sort

protected applyOffset(FilterState $search, int $offset)

Parameters

FilterState $search
int $offset

protected applyLimit(FilterState $search, int|null $limit)

Parameters

FilterState $search
int|null $limit