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

  • VPERepository
  • VPEStorage

Interfaces

  • VPERepositoryInterface
  • VPEStorageInterface

Class VPERepository

Class VPERepository

VPERepository implements VPERepositoryInterface
Package: VPE\Repositories
Category: System
Located at Services/Core/VPE/Repositories/VPERepository.inc.php

Methods summary

public
# __construct( VPEStorageInterface $storage, VPEFactory $factory, LanguageProvider $languageProvider )

VPERepository constructor.

VPERepository constructor.

Parameters

$storage
$factory
$languageProvider
public VPEInterface
# getById( IdType $vpeId )

Returns VPE entity by the given id.

Returns VPE entity by the given id.

Parameters

$vpeId
IdType of entity to be returned.

Returns

VPEInterface

Implementation of

VPERepositoryInterface::getById()
public VPECollection
# getAll( )

Returns all VPE entities as collection.

Returns all VPE entities as collection.

Returns

VPECollection
VPE collection.

Implementation of

VPERepositoryInterface::getAll()
public VPERepositoryInterface
# save( VPEInterface $vpe )

Saves VPE entity in database.

Saves VPE entity in database.

Parameters

$vpe
Vpe entity to be save.

Returns

VPERepositoryInterface
Same instance for chained method calls.

Implementation of

VPERepositoryInterface::save()
public VPERepositoryInterface
# delete( VPEInterface $vpe )

Deletes VPE entity from database.

Deletes VPE entity from database.

Parameters

$vpe
VPE entity to be deleted.

Returns

VPERepositoryInterface
Same instance for chained method calls.

Implementation of

VPERepositoryInterface::delete()
public VPE
# createVPE( )

Creates VPE entity.

Creates VPE entity.

Returns

VPE
New VPE entity.

Implementation of

VPERepositoryInterface::createVPE()
API documentation generated by ApiGen