Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • 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
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • 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
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • 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', 'Mobile Template' and 'MobileCandy' in Name as target versions.

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

Parameters

$versionInfoItems
protected boolean
# _isSpecialName( VersionInfoItemInterface $VersionInfoItem )

Returns true if the version info item has an special name.

Returns true if the version info item has an special name.

Parameters

$VersionInfoItem

Returns

boolean
protected boolean
# _isSpecialNameWithRightVendor( VersionInfoItemInterface $VersionInfoItem )

Returns true if the version info item has an special name with the right Vendor.

Returns true if the version info item has an special name with the right Vendor.

Parameters

$VersionInfoItem

Returns

boolean

Properties summary

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