Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AbstractAddonValueServiceFactory
  • AbstractAddonValueStorage
  • AddonValueService
  • AddonValueServiceFactory
  • AddonValueStorageFactory

Class AddonValueService

Class AddonValueService

This service will handle the addon values for different contexts of the shop. The addon values is a mechanism for external developers to introduce values to key-entities of the project (e.g. order, product etc.) without further changing the database structure. Take a look at the "Storages" directory for the available storage classes. More classes will be created gradually.

AddonValueService implements AddonValueServiceInterface
Package: AddonValue
Category: System
Located at SystemServices/AddonValue/AddonValueService.inc.php

Methods summary

public
# __construct( AddonValueStorageFactoryInterface $addonValueStorageFactory )

AddonValueService Constructor

AddonValueService Constructor

Parameters

$addonValueStorageFactory
public AddonValueService
# storeAddonValues( AddonValueContainerInterface $container )

Save the addon values of a storage container in the database.

Save the addon values of a storage container in the database.

Parameters

$container

Returns

AddonValueService
Returns the class instance.

Implementation of

AddonValueServiceInterface::storeAddonValues()
public AddonValueService
# loadAddonValues( AddonValueContainerInterface $container )

Load the addon values of a storage container from the database.

Load the addon values of a storage container from the database.

Parameters

$container

Returns

AddonValueService
Returns the class instance.

Implementation of

AddonValueServiceInterface::loadAddonValues()
public AddonValueService
# deleteAddonValues( AddonValueContainerInterface $container )

Remove the addon values of a storage container.

Remove the addon values of a storage container.

Parameters

$container

Returns

AddonValueService
Returns the class instance.

Implementation of

AddonValueServiceInterface::deleteAddonValues()

Properties summary

protected AddonValueStorageFactory $addonValueStorageFactory
#
API documentation generated by ApiGen