Class ProductListProvider
| category |
System |
|---|---|
| package |
Product |
| subpackage |
Providers |
__construct(\LanguageCode $languageCode, array $conditions = array(), \ProductRepositoryInterface $productRepo, \CI_DB_query_builder $db)
arrayDatabase query conditions.
\CI_DB_query_builderDatabase connection.
_applyExtraConditions() : \ProductListProvider
_prepareCollection(array $result) : \ProductListItemCollection
| throws |
if the provided result is not valid. |
|---|
arrayQuery result.
\ProductListItemCollection
_select() : \ProductListProvider
getAll() : \ProductListItemCollection
getByCategoryId(\IdType $categoryId) : \ProductListItemCollection
conditions : array
| var |
|---|
array
productRepo : \ProductRepositoryInterface
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder