Methods
FeaturedProductReader constructor.
__construct(\CI_DB_query_builder $queryBuilder, \BoolType $isCustomerGroupCheckActive)
Arguments
$queryBuilder
\CI_DB_query_builder
Get new products
getNewProducts(\FeaturedProductSettings $settings) : \FeaturedProductCollection
Get offers
getOfferedProducts(\FeaturedProductSettings $settings) : \FeaturedProductCollection
get products by category id.
getProductsByCategoryId(\FeaturedProductSettings $settings, \IntType $categoryId) : \FeaturedProductCollection
Get top products
getTopProducts(\FeaturedProductSettings $settings) : \FeaturedProductCollection
Get upcoming products
getUpcomingProducts(\FeaturedProductSettings $settings) : \FeaturedProductCollection
Properties
CodeIgniter QueryBuilder
queryBuilder : \CI_DB_query_builder
Type(s)
\CI_DB_query_builder
Whether customer group check is active
isCustomerGroupCheckActive : boolean