phpDocumentor

CategoryRepositoryDeleter
in package
implements CategoryRepositoryDeleterInterface

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.

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

CategoryRepositoryDeleterInterface
Interface CategoryRepositoryDeleterInterface

Table of Contents

$db  : CI_DB_query_builder
Database connector.
$productRepository  : ProductRepositoryInterface
__construct()  : mixed
CategoryRepositoryDeleter constructor.
deleteById()  : CategoryRepositoryDeleter
Deletes a specific category entity.
deleteRelatedProductsOfCategory()  : $this|CategoryRepositoryDeleterInterface
Deletes related products of given category.

Properties

Methods

Search results