phpDocumentor

QuickEditProductSpecialPricesReaderInterface

Interface QuickEditProductSpecialPricesReaderInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

getFilteredSpecialPrices()  : array<string|int, mixed>
Returns the special prices of the indicated products.
getFilteredSpecialPricesCount()  : int
Returns the record number of the filtered special prices.
getSpecialPricesCount()  : int
Get special prices record count.
paginateSpecialPrices()  : QuickEditProductSpecialPricesReaderInterface
Sets the starting point of the pagination and the number of products.
sortSpecialPrices()  : QuickEditProductSpecialPricesReaderInterface
Sets the sorting order of the products

Methods

getFilteredSpecialPrices()

Returns the special prices of the indicated products.

public getFilteredSpecialPrices(array<string|int, mixed> $productIds, array<string|int, mixed> $filterParameters) : array<string|int, mixed>
Parameters
$productIds : array<string|int, mixed>

Array containing the product IDs to be processed.

$filterParameters : array<string|int, mixed>

Contains filter parameters.

Return values
array<string|int, mixed>

Returns the query result as a pure array, or an empty array when no result is produced.

getFilteredSpecialPricesCount()

Returns the record number of the filtered special prices.

public getFilteredSpecialPricesCount(array<string|int, mixed> $productIds, array<string|int, mixed> $filterParameters) : int
Parameters
$productIds : array<string|int, mixed>

Array containing the product IDs to be processed.

$filterParameters : array<string|int, mixed>

Contains filter parameters.

Return values
int

Returns the number of special prices found.

paginateSpecialPrices()

Sets the starting point of the pagination and the number of products.

public paginateSpecialPrices([IntType|null $start = null ][, IntType|null $length = null ]) : QuickEditProductSpecialPricesReaderInterface
Parameters
$start : IntType|null = null

Starting point.

$length : IntType|null = null

Number of products.

Return values
QuickEditProductSpecialPricesReaderInterface

Returns same instance for chained method calls.

Search results