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 CategorySettingsRepositoryWriter

Class CategorySettingsRepositoryWriter

This class provides methods for updating particular columns of specific category records in the database. The category settings are stored in the categories table and are more related to display and visibility modes of category related data.

CategorySettingsRepositoryWriter implements CategorySettingsRepositoryWriterInterface
Package: Category\Repositories
Category: System
Located at Services/Core/Category/Repositories/Writer/CategorySettingsRepositoryWriter.php

Methods summary

public
# __construct( CI_DB_query_builder $dbQueryBuilder, CustomerStatusProviderInterface $customerStatusProvider )

Initialize the category settings repository writer.

Initialize the category settings repository writer.

Parameters

$dbQueryBuilder
Database connector.
$customerStatusProvider
Customer Status Provider
public CategorySettingsRepositoryWriter
# update( IdType $categoryId, CategorySettingsInterface $settings )

Updates a specific category settings entity.

Updates a specific category settings entity.

Parameters

$categoryId
Category ID.
$settings
Category settings.

Returns

CategorySettingsRepositoryWriter
Same instance for chained method calls.

Throws

UnexpectedValueException
InvalidArgumentException

Implementation of

CategorySettingsRepositoryWriterInterface::update()

Properties summary

protected CI_DB_query_builder $db

Database Connection

Database Connection

#
protected string $table

Table name

Table name

# 'categories'
protected CustomerStatusProviderInterface $customerStatusProvider

Customer Status Provider

Customer Status Provider

#
API documentation generated by ApiGen