QuickEditProductPropertiesReaderInterface

Extends

Interface QuickEditProductsPropertiesReaderInterface

category

System

package

QuickEdit

subpackage

Interfaces

Methods

Returns filtered product properties based on the provided filter criteria.

getFilteredProductProperties(array $productIds, array $filterParameters) : array

Arguments

$productIds

array

Array containing the selected product IDs to be processed.

$filterParameters

array

Contains the filter parameters.

Response

array

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

Returns products that are subject to the specified filter criteria.

getFilteredProductPropertiesCount(array $productIds, array $filterParameters) : integer

Arguments

$productIds

array

Array containing the selected product IDs to be processed.

$filterParameters

array

Contains the filter parameters.

Response

integer

Returns the number of product properties found.

Returns the number of all product properties found.

getProductPropertiesCount() : integer

Response

integer

Returns the record number.

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

paginateProperties(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductPropertiesReaderInterface

Arguments

$start

\IntType|null

Starting point.

$length

\IntType|null

Number of products.

Response

\QuickEditProductPropertiesReaderInterface

Returns same instance for chained method calls.

Sets the sorting order of the products

sortProperties(\StringType|null $orderBy = null) : \QuickEditProductPropertiesReaderInterface

Arguments

$orderBy

\StringType|null

Sorting order (ASC or DESC)

Response

\QuickEditProductPropertiesReaderInterface

Returns same instance for chained method calls.