AbstractVersionInfoItem
in package
implements
VersionInfoItemInterface
Class AbstractVersionInfoItem
Tags
Interfaces, Classes and Traits
- VersionInfoItemInterface
- Class VersionInfoItemInterface
Table of Contents
- $changelogVersionURL : string
- $installationDate : DateTime
- Installation date of the originally install full shop version.
- $installedStatus : string
- $isCurrentInstallationVersion : bool
- $isFailedInstallationVersion : bool
- $isForcedInstallationVersion : bool
- $isInstalledTargetVersion : bool
- $isOriginInstallationVersion : bool
- $name : string
- $vendor : string
- $version : string
- __construct() : mixed
- AbstractVersionInfoItem constructor.
- getChangelogVersionURL() : string
- Returns the changelog url of version info item.
- getInstallationDate() : DateTime
- Returns the installation date of version history item.
- getInstalledStatus() : string
- Returns the status of the Installation.
- getName() : string
- Returns the name of version history item.
- getVendor() : string
- Returns the vendor of version info item.
- getVersion() : string
- Returns the version of version history item.
- isCurrentInstallationVersion() : bool
- Returns true if target version is the oldest one.
- isFailedInstallationVersion() : bool
- Mark this version info item as failed installation version and returns VersionInfoItemInterface.
- isForcedInstallationVersion() : bool
- Mark this version info item as forced installation version and returns VersionInfoItemInterface.
- isInstalledTargetVersion() : bool
- Returns true if this version info item is an installed target version.
- isOriginInstallationVersion() : bool
- Returns true if target version is the oldest one.
- setCurrentInstallationVersion() : VersionInfoItemInterface
- Mark this version info item as Current target version and returns VersionInfoItemInterface.
- setFailedInstallationVersion() : VersionInfoItemInterface
- Returns true if installation version is a failed installation.
- setForcedInstallationVersion() : VersionInfoItemInterface
- Returns true if installation version is a forced installation.
- setIsInstalledTargetVersion() : VersionInfoItemInterface
- Mark this version info item as installed target version and returns VersionInfoItemInterface.
- setOriginInstallationVersion() : VersionInfoItemInterface
- Mark this version info item as origin installation version and returns VersionInfoItemInterface.
Properties
$changelogVersionURL
protected
string
$changelogVersionURL
$installationDate
Installation date of the originally install full shop version.
protected
DateTime
$installationDate
$installedStatus
protected
string
$installedStatus
$isCurrentInstallationVersion
protected
bool
$isCurrentInstallationVersion
= alse
$isFailedInstallationVersion
protected
bool
$isFailedInstallationVersion
= alse
$isForcedInstallationVersion
protected
bool
$isForcedInstallationVersion
= alse
$isInstalledTargetVersion
protected
bool
$isInstalledTargetVersion
= alse
$isOriginInstallationVersion
protected
bool
$isOriginInstallationVersion
= alse
$name
protected
string
$name
$vendor
protected
string
$vendor
$version
protected
string
$version
Methods
__construct()
AbstractVersionInfoItem constructor.
public
__construct(NonEmptyStringType $name, NonEmptyStringType $version, NonEmptyStringType $vendor, NonEmptyStringType $changelogVersionURL, DateTime $installationDate, BoolType $installedStatus) : mixed
Parameters
- $name : NonEmptyStringType
- $version : NonEmptyStringType
- $vendor : NonEmptyStringType
- $changelogVersionURL : NonEmptyStringType
- $installationDate : DateTime
- $installedStatus : BoolType
Return values
mixed —getChangelogVersionURL()
Returns the changelog url of version info item.
public
getChangelogVersionURL() : string
Return values
string —getInstallationDate()
Returns the installation date of version history item.
public
getInstallationDate() : DateTime
Return values
DateTime —getInstalledStatus()
Returns the status of the Installation.
public
getInstalledStatus() : string
Return values
string —getName()
Returns the name of version history item.
public
getName() : string
Return values
string —getVendor()
Returns the vendor of version info item.
public
getVendor() : string
Return values
string —getVersion()
Returns the version of version history item.
public
getVersion() : string
Return values
string —isCurrentInstallationVersion()
Returns true if target version is the oldest one.
public
isCurrentInstallationVersion() : bool
Return values
bool —isFailedInstallationVersion()
Mark this version info item as failed installation version and returns VersionInfoItemInterface.
public
isFailedInstallationVersion() : bool
Return values
bool —isForcedInstallationVersion()
Mark this version info item as forced installation version and returns VersionInfoItemInterface.
public
isForcedInstallationVersion() : bool
Return values
bool —isInstalledTargetVersion()
Returns true if this version info item is an installed target version.
public
isInstalledTargetVersion() : bool
Return values
bool —isOriginInstallationVersion()
Returns true if target version is the oldest one.
public
isOriginInstallationVersion() : bool
Return values
bool —setCurrentInstallationVersion()
Mark this version info item as Current target version and returns VersionInfoItemInterface.
public
setCurrentInstallationVersion(bool $isCurrentInstallationVersion) : VersionInfoItemInterface
Parameters
- $isCurrentInstallationVersion : bool
Return values
VersionInfoItemInterface —setFailedInstallationVersion()
Returns true if installation version is a failed installation.
public
setFailedInstallationVersion(bool $isFailedInstallationVersion) : VersionInfoItemInterface
Parameters
- $isFailedInstallationVersion : bool
Return values
VersionInfoItemInterface —setForcedInstallationVersion()
Returns true if installation version is a forced installation.
public
setForcedInstallationVersion(bool $isForcedInstallationVersion) : VersionInfoItemInterface
Parameters
- $isForcedInstallationVersion : bool
Return values
VersionInfoItemInterface —setIsInstalledTargetVersion()
Mark this version info item as installed target version and returns VersionInfoItemInterface.
public
setIsInstalledTargetVersion(bool $isInstalledTargetVersion) : VersionInfoItemInterface
Parameters
- $isInstalledTargetVersion : bool
Return values
VersionInfoItemInterface —setOriginInstallationVersion()
Mark this version info item as origin installation version and returns VersionInfoItemInterface.
public
setOriginInstallationVersion( $isOriginInstallationVersion) : VersionInfoItemInterface