Class VersionInfoRepository
Class VersionInfoRepository
This class provides methods for retrieving data of a particular category and a collection of specific categories.
Category: Core
Located at Services/Core/VersionInfo/Repositories/VersionInfoRepository.inc.php
Methods summary
public
|
#
__construct(
VersionInfoRepository constructor. |
public
|
|
protected
integer
|
#
_sortVersionInfoItemByTime(
Sorted all Version Info Items by time, newest first |
protected
integer
|
#
_getTheOriginInstallationVersionTimestamp( array $versionInfoItems )
Get the originInstallationTimestamp and returns it. |
protected
|
#
_markTheOldestTargetVersion( array $versionInfoItems, mixed $originInstallationVersionTimestamp )
Marks with the originInstallationTimestamp the originInstallationVersion |
protected
integer
|
#
_getTheCurrentInstallationVersionTimestamp( array $versionInfoItems )
Get the currentInstallationTimestamp and returns it. |
protected
|
#
_markTheNewestTargetVersion( array $versionInfoItems, mixed $currentInstallationVersionTimestamp )
Marks with the currentInstallationVersionTimestamp the currentInstallationVersion |
protected
|
#
_markAllVersionFileItemsWithFailed( array $versionInfoFileItems )
Marks all VersionInfoFileItems as failed installation. |
protected
|
#
_markOldVersionsCaseAsTargetVersions( $versionInfoFileItems )
If the Item is an shop update, marks all VersionInfoFileItem under version 2.1 as Target Version . |
protected
|
#
_markInstalledTargetVersions( array $versionInfoFileItems, array $versionInfoDatabaseItems )
Marks all VersionInfoDatabaseItems and VersionInfoFileItems form Gambio, with the same version as InstalledTargetVersion. |
protected
|
#
_marksSpecialVersionNamesAsTargetVersions( array $versionInfoItems )
Marks all Versions with 'vrrl' and MobileCandy in Name as target versions. |
Properties summary
protected
|
$fileReader
|
|
protected
|
$databaseReader
|