phpDocumentor

TrackingCodeFilterService

Interface TrackingCodeFilterService

Table of Contents

filterTrackingCodes()  : TrackingCodes
Returns a filtered and paginated collection of tracking codes based on the given filter and sorting arguments.
getTrackingCodesTotalCount()  : int
Returns total count of tracking codes based on the given filter arguments.

Methods

filterTrackingCodes()

Returns a filtered and paginated collection of tracking codes based on the given filter and sorting arguments.

public filterTrackingCodes(array<string|int, mixed> $filters[, string|null $sorting = null ][, int $limit = 25 ], int $offset) : TrackingCodes

The filters must be a map, that assigns an attribute it filtering pattern. The sorting must be a comma-separated list of attributes. A - can be used to change the order to descending.

Parameters
$filters : array<string|int, mixed>
$sorting : string|null = null
$limit : int = 25
$offset : int
Return values
TrackingCodes

getTrackingCodesTotalCount()

Returns total count of tracking codes based on the given filter arguments.

public getTrackingCodesTotalCount(array<string|int, mixed> $filters) : int

The filters must be a map, that assigns an attribute it filtering pattern.

Parameters
$filters : array<string|int, mixed>
Return values
int

Search results