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
    • 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
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • 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
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects

Classes

  • VersionInfoRepository
  • VersionInfoService

Class VersionInfoRepository

Class VersionInfoRepository

This class provides methods for retrieving data of a particular category and a collection of specific categories.

Package: VersionInfo
Category: Core
Located at Services/Core/VersionInfo/Repositories/VersionInfoRepository.inc.php

Methods summary

public
# __construct( VersionInfoDatabaseReader $databaseReader, VersionInfoFileReader $fileReader )

VersionInfoRepository constructor.

VersionInfoRepository constructor.

Parameters

$databaseReader
$fileReader
public VersionInfoItemInterface[]
# getAllVersionInfoItems( )

Returns an array of VersionInfoItemInterface objects.

Returns an array of VersionInfoItemInterface objects.

Returns

VersionInfoItemInterface[]
protected integer
# _sortVersionInfoItemByTime( VersionInfoItemInterface $a, VersionInfoItemInterface $b )

Sorted all Version Info Items by time, newest first

Sorted all Version Info Items by time, newest first

Parameters

$a
$b

Returns

integer
protected integer
# _getTheOriginInstallationVersionTimestamp( array $versionInfoItems )

Get the originInstallationTimestamp and returns it.

Get the originInstallationTimestamp and returns it.

Parameters

$versionInfoItems
[]

Returns

integer
$originInstallationVersionTimestamp
protected
# _markTheOldestTargetVersion( array $versionInfoItems, mixed $originInstallationVersionTimestamp )

Marks with the originInstallationTimestamp the originInstallationVersion

Marks with the originInstallationTimestamp the originInstallationVersion

Parameters

$versionInfoItems
[]
$originInstallationVersionTimestamp
protected integer
# _getTheCurrentInstallationVersionTimestamp( array $versionInfoItems )

Get the currentInstallationTimestamp and returns it.

Get the currentInstallationTimestamp and returns it.

Parameters

$versionInfoItems
[]

Returns

integer
$currentInstallationVersionTimestamp
protected
# _markTheNewestTargetVersion( array $versionInfoItems, mixed $currentInstallationVersionTimestamp )

Marks with the currentInstallationVersionTimestamp the currentInstallationVersion

Marks with the currentInstallationVersionTimestamp the currentInstallationVersion

Parameters

$versionInfoItems
[]
$currentInstallationVersionTimestamp
protected
# _markAllVersionFileItemsWithFailed( array $versionInfoFileItems )

Marks all VersionInfoFileItems as failed installation.

Marks all VersionInfoFileItems as failed installation.

Parameters

$versionInfoFileItems
[]
protected
# _markOldVersionsCaseAsTargetVersions( $versionInfoFileItems )

If the Item is an shop update, marks all VersionInfoFileItem under version 2.1 as Target Version .

If the Item is an shop update, marks all VersionInfoFileItem under version 2.1 as Target Version .

Parameters

$versionInfoFileItems
[]
protected
# _markInstalledTargetVersions( array $versionInfoFileItems, array $versionInfoDatabaseItems )

Marks all VersionInfoDatabaseItems and VersionInfoFileItems form Gambio, with the same version as InstalledTargetVersion.

Marks all VersionInfoDatabaseItems and VersionInfoFileItems form Gambio, with the same version as InstalledTargetVersion.

Parameters

$versionInfoFileItems
[]
$versionInfoDatabaseItems
[]
protected
# _marksSpecialVersionNamesAsTargetVersions( array $versionInfoItems )

Marks all Versions with 'vrrl' and MobileCandy in Name as target versions.

Marks all Versions with 'vrrl' and MobileCandy in Name as target versions.

Parameters

$versionInfoItems

Properties summary

protected VersionInfoFileReader $fileReader
#
protected VersionInfoDatabaseReader $databaseReader
#
API documentation generated by ApiGen