Class QuickEditService
category |
System |
---|---|
package |
QuickEdit |
__construct(\QuickEditProductGraduatedPricesRepositoryInterface $graduatedPricesRepository, \QuickEditProductPropertiesRepositoryInterface $propertiesRepository, \QuickEditProductSpecialPricesRepositoryInterface $specialPricesRepository)
\QuickEditProductGraduatedPricesRepositoryInterface
Graduations repository instance.
\QuickEditProductSpecialPricesRepositoryInterface
Special price repository instance.
getFilteredProductProperties(array $productIds, array $filterParameters) : array
array
Array containing the selected product IDs to be processed.
array
Contains the filter parameters.
array
Returns the query result as a pure array, or an empty array when no result is produced.
getFilteredProductPropertiesCount(array $productIds, array $filterParameters) : integer
array
Array containing the selected product IDs to be processed.
array
Contains the filter parameters.
integer
Returns the number of product properties found.
getFilteredSpecialPrices(array $productIds, array $filterParameters) : array
array
Array containing the product IDs to be processed.
array
Contains filter parameters.
array
Returns the query result as a pure array, or an empty array when no result is produced.
getFilteredSpecialPricesCount(array $productIds, array $filterParameters) : integer
array
Array containing the product IDs to be processed.
array
Contains filter parameters.
integer
Returns the number of special prices found.
getGraduatedPrices(array|null $productIds = null) : array
array|null
Array containing the selected product IDs to be processed.
array
Returns array that contains the graduated prices information.
getProductPropertiesCount() : integer
integer
Returns the record number.
getSpecialPricesCount() : integer
integer
Returns the number of all special prices found.
paginateProperties(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductPropertiesRepository
\QuickEditProductPropertiesRepository
QuickEdit products properties repository for chained method calls.
paginateSpecialPrices(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductSpecialPricesRepository
\QuickEditProductSpecialPricesRepository
QuickEdit products special price repository for chained method calls.
setByCombisId(array $productCombi) : boolean
array
Contains product data to be saved.
boolean
Returns the operation result.
setSpecialPriceById(array $specialPrice) : boolean
array
Contains the special prices data.
boolean
Returns the operation result.
sortProperties(\StringType|null $orderBy = null) : \QuickEditProductPropertiesRepository
\QuickEditProductPropertiesRepository
QuickEdit products properties repository for chained method calls.
sortSpecialPrices(\StringType|null $orderBy = null) : \QuickEditProductSpecialPricesRepository
\QuickEditProductSpecialPricesRepository
QuickEdit products special price repository for chained method calls.
graduatedPricesRepository : \QuickEditProductGraduatedPricesRepositoryInterface
propertiesRepository : \QuickEditProductPropertiesRepositoryInterface
specialPricesRepository : \QuickEditProductSpecialPricesRepositoryInterface