Class ProductListProvider
category |
System |
---|---|
package |
Product |
subpackage |
Providers |
__construct(\LanguageCode $languageCode, array $conditions = array(), \ProductRepositoryInterface $productRepo, \CI_DB_query_builder $db)
array
Database query conditions.
\CI_DB_query_builder
Database connection.
_applyExtraConditions() : \ProductListProvider
_applyLimitAndOffset(\IntType|null $page = null, \IntType|null $limit = null) : $this|\ProductListProvider
_prepareCollection(array $result) : \ProductListItemCollection
Throws |
|
---|
array
Query result.
\ProductListItemCollection
_select() : \ProductListProvider
_selectWithCategories() : \ProductListProvider
getAll() : \ProductListItemCollection
getAllPaged(\IntType|null $page = null, \IntType|null $limit = null) : \ProductListItemCollection
getByCategoryId(\IdType $categoryId) : \ProductListItemCollection
Throws |
|
---|
\ProductListItemCollection
searchProducts(\ProductSearchCondition $condition, \Pager $pager) : \ProductListItemCollection
conditions : array
var |
---|
array
productRepository : \ProductRepositoryInterface
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder