Class CategoryListProvider
This class provides methods for creating a list of flattened categories with just its essential data. The list of categories is filtered by its parent category ID and customer status permissions and for simplicity it contains language specific data only in one language.
category |
System |
---|---|
package |
Category |
subpackage |
Providers |
__construct(\LanguageCode $languageCode, array $conditions = array(), \CategoryRepositoryInterface $categoryRepo, \CI_DB_query_builder $db)
array
Additional data request conditions.
\CI_DB_query_builder
Database connector.
_prepareCollection(array $result) : \CategoryListItemCollection
_select() : \CategoryListProvider
getByParentId(\IdType $parentId) : \CategoryListItemCollection
searchCategories(\CategorySearchCondition $condition, \Pager $pager) : \CategoryListItemCollection
conditions : array
var |
---|
array
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
categoryRepo : \CategoryRepositoryInterface