Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CategoryRepository
  • CategoryRepositoryDeleter
  • CategoryRepositoryReader
  • CategoryRepositoryWriter
  • CategorySettingsRepository
  • CategorySettingsRepositoryReader
  • CategorySettingsRepositoryWriter

Class CategorySettingsRepository

Class CategorySettingsRepository

This class 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.

CategorySettingsRepository implements CategorySettingsRepositoryInterface
Package: Category\Repositories
Category: System
Located at Services/Core/Category/Repositories/CategorySettingsRepository.inc.php

Methods summary

public
# __construct( CategorySettingsRepositoryReaderInterface $reader, CategorySettingsRepositoryWriterInterface $writer )

CategorySettingsRepository constructor.

CategorySettingsRepository constructor.

Parameters

$reader
Category settings repository reader.
$writer
Category settings repository writer
public CategorySettingsRepository
# store( IdType $categoryId, CategorySettingsInterface $settings )

Stores the category settings.

Stores the category settings.

Parameters

$categoryId
Category ID.
$settings
Category settings.

Returns

CategorySettingsRepository
Same instance for chained method calls.

Implementation of

CategorySettingsRepositoryInterface::store()
public CategorySettingsInterface
# getCategorySettingsById( IdType $categoryId )

Returns the category settings based on the given ID.

Returns the category settings based on the given ID.

Parameters

$categoryId
Category ID.

Returns

CategorySettingsInterface

Implementation of

CategorySettingsRepositoryInterface::getCategorySettingsById()

Properties summary

protected CategorySettingsRepositoryReaderInterface $reader

Category settings repository reader.

Category settings repository reader.

#
protected CategorySettingsRepositoryWriterInterface $writer

Category settings repository writer.

Category settings repository writer.

#
API documentation generated by ApiGen