phpDocumentor

CategoryRepositoryInterface

Interface CategoryRepositoryInterface

This interface defines methods for handling the database operations that concern the category records of the database. It provides a layer for more complicated methods that use the writer, reader and deleter.

Tags
category

System

subpackage

Interfaces

Table of Contents

add()  : int
Adds a category.
deleteCategoryById()  : CategoryRepositoryInterface
Deletes a category by the given ID.
getActiveCategoryIdsTree()  : IdCollection
Returns an id collection with the ids of the active subcategories.
getCategoryById()  : StoredCategoryInterface
Gets a category by the given ID.
getCategoryIdsByParentId()  : IdCollection
Returns all Categories with the provided parent ID.
getCategoryIdsTree()  : IdCollection
Returns an id collection with the ids of subcategories.
store()  : CategoryRepositoryInterface
Stores a category.

Methods

Search results