Class CategoryRepositoryDeleter
Class CategoryRepositoryDeleter
This class deletes category records from the database and is used in the category repository among the classes for writing and reading category records.
- CategoryRepositoryDeleter implements CategoryRepositoryDeleterInterface
Package: Category\Repositories
Category: System
Located at Services/Core/Category/Repositories/Deleter/CategoryRepositoryDeleter.inc.php
Category: System
Located at Services/Core/Category/Repositories/Deleter/CategoryRepositoryDeleter.inc.php
Methods summary
public
|
#
__construct( CI_DB_query_builder $db,
CategoryRepositoryDeleter constructor. |
public
|
|
public
|
#
deleteRelatedProductsOfCategory(
Deletes related products of given category. All products that are only connected to the given category gets removed. |
Properties summary
protected
CI_DB_query_builder
|
$db
Database connector. |
|
protected
|
$productRepository
|