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
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories

Classes

  • QuantityUnitRepository
  • QuantityUnitStorage

Interfaces

  • QuantityUnitRepositoryInterface
  • QuantityUnitStorageInterface

Class QuantityUnitStorage

Class QuantityUnitStorage

QuantityUnitStorage implements QuantityUnitStorageInterface
Package: QuantityUnit\Repositories
Category: System
Located at Services/Core/QuantityUnit/Repositories/QuantityUnitStorage.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $queryBuilder, LanguageProvider $languageProvider )

QuantityUnitStorage constructor.

QuantityUnitStorage constructor.

Parameters

$queryBuilder
$languageProvider
public array
# getById( IdType $quantityUnitId )

Returns quantity unit entity data by the given id.

Returns quantity unit entity data by the given id.

Parameters

$quantityUnitId

Returns

array

Throws

EntityNotFoundException
If no entity was found by provided id.

Implementation of

QuantityUnitStorageInterface::getById()
public array
# getAll( )

Returns all quantity unit entities data as array.

Returns all quantity unit entities data as array.

Returns

array

Implementation of

QuantityUnitStorageInterface::getAll()
public QuantityUnitStorageInterface
# save( QuantityUnitInterface $quantityUnit )

Saves quantity unit entity data in database.

Saves quantity unit entity data in database.

Parameters

$quantityUnit
Quantity unit to be saved.

Returns

QuantityUnitStorageInterface
Same instance for chained method calls.

Implementation of

QuantityUnitStorageInterface::save()
public QuantityUnitStorageInterface
# update( QuantityUnitInterface $quantityUnit )

Updates quantity unit entity data in database.

Updates quantity unit entity data in database.

Parameters

$quantityUnit
Quantity unit to be updated.

Returns

QuantityUnitStorageInterface
Same instance for chained method calls.

Implementation of

QuantityUnitStorageInterface::update()
public QuantityUnitStorageInterface
# delete( QuantityUnitInterface $quantityUnit )

Deletes quantity unit entity data in database.

Deletes quantity unit entity data in database.

Parameters

$quantityUnit
Quantity unit to be delete.

Returns

QuantityUnitStorageInterface
Same instance for chained method calls.

Implementation of

QuantityUnitStorageInterface::delete()

Properties summary

protected CI_DB_query_builder $queryBuilder
#
protected LanguageProvider $languageProvider
#
API documentation generated by ApiGen