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

  • InfoBoxRepository
  • InfoBoxRepositoryDeleter

Class InfoBoxRepository

Class InfoBoxRepository

InfoBoxRepository implements InfoBoxRepositoryInterface
Package: InfoBox\Repositories
Category: System
Located at Services/Core/InfoBox/Repositories/InfoBoxRepository.inc.php

Methods summary

public
# __construct( InfoBoxRepositoryReaderInterface $reader, InfoBoxRepositoryWriterInterface $writer, InfoBoxRepositoryDeleterInterface $deleter )

InfoBoxRepository constructor.

InfoBoxRepository constructor.

Parameters

$reader
$writer
$deleter
public InfoBoxMessageCollection
# getAllMessages( )

Returns all info box messages.

Returns all info box messages.

Returns

InfoBoxMessageCollection

Implementation of

InfoBoxRepositoryInterface::getAllMessages()
public
# addMessage( InfoBoxMessageInterface $message )

Adds a new info box message.

Adds a new info box message.

Parameters

$message
Message to save.

Implementation of

InfoBoxRepositoryInterface::addMessage()
public
# reactivateMessages( )

Reactivates the messages.

Reactivates the messages.

Implementation of

InfoBoxRepositoryInterface::reactivateMessages()
public
# deleteMessageBySource( StringType $source )

Deletes a message based on the source.

Deletes a message based on the source.

Parameters

$source
Message source.

Implementation of

InfoBoxRepositoryInterface::deleteMessageBySource()
public
# deleteMessageByIdentifier( StringType $identifier )

Deletes a message based on its identifier.

Deletes a message based on its identifier.

Parameters

$identifier
Message identifier.

Implementation of

InfoBoxRepositoryInterface::deleteMessageByIdentifier()
public
# deleteMessageById( IdType $id )

Deletes a message by its ID.

Deletes a message by its ID.

Parameters

$id
Message ID.

Implementation of

InfoBoxRepositoryInterface::deleteMessageById()
public
# setMessageStatus( IdType $id, StringType $status )

Updates a message status.

Updates a message status.

Parameters

$id
Message ID.
$status
Message status.

Implementation of

InfoBoxRepositoryInterface::setMessageStatus()

Properties summary

protected InfoBoxRepositoryReaderInterface $reader
#
protected InfoBoxRepositoryWriterInterface $writer
#
protected InfoBoxRepositoryDeleterInterface $deleter
#
API documentation generated by ApiGen