CategorySettingsRepositoryInterface

Extends

Interface CategorySettingsRepositoryInterface

This interface handles the database operations that concern settings regarding display and visibility mode of category related data of the database. It provides a layer for more complicated methods that use the writer, reader and deleter.

category

System

package

Category

subpackage

Interfaces

Methods

Returns the category settings based on the given ID.

getCategorySettingsById(\IdType $categoryId) : \CategorySettingsInterface

Arguments

$categoryId

\IdType

Category ID.

Response

\CategorySettingsInterface

Stores the category settings.

store(\IdType $categoryId, \CategorySettingsInterface $settings) 

Arguments

$categoryId

\IdType

Category ID.

$settings

\CategorySettingsInterface

Category settings.