Class QuickEditProductPropertiesRepository

Class QuickEditProductPropertiesRepository

QuickEditProductPropertiesRepository implements QuickEditProductPropertiesRepositoryInterface

Methods summary

public __construct( QuickEditProductPropertiesReaderInterface $reader = null, QuickEditProductPropertiesWriterInterface $writer = null )

QuickEditProductPropertiesRepository constructor.

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

Returns product properties based on the provided filter criteria.

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

Returns products that are subject to the specified filter criteria.

public getProductPropertiesCount( void ) : integer

Returns the number of all product properties found.

public setByCombisId( array $productCombi ) : boolean

Saves product by product-combi ID.

public paginateProperties( IntType $start = null, IntType $length = null ) : QuickEditProductPropertiesRepository

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

public sortProperties( StringType $orderBy = null ) : QuickEditProductPropertiesRepository

Sets the sorting order of the product properties.

protected _collectionContentArray( array $properties ) : array

Returns an array of QuickEditProductPropertiesListItem.

Properties summary