Class CategoryRepositoryReader
Class CategoryRepositoryReader
This class provides methods for fetching specific category records from the database and is used in the category repository among the classes for writing and deleting category records.
- CategoryRepositoryReader implements CategoryRepositoryReaderInterface
Package: Category\Repositories
Category: System
Located at Services/Core/Category/Repositories/Reader/CategoryRepositoryReader.inc.php
Category: System
Located at Services/Core/Category/Repositories/Reader/CategoryRepositoryReader.inc.php
Methods summary
public
|
#
__construct( CI_DB_query_builder $db,
CategoryRepositoryReader constructor. |
public
|
|
public
|
|
public
|
#
getCategoryIdsTree(
Returns an id collection with the ids of subcategories. |
protected
array
|
#
_getCategoryIdsTreeArray(
Fetches the ids of the subcategories from the passed parent category. |
protected
|
#
_createCategoryByArray( array $categoryData, array $categoryDescriptionData )
Creates a category instance. |
Properties summary
protected
CI_DB_query_builder
|
$db
Database connector. |
|
protected
|
$categoryFactory
Category factory. |