Class AbstractVersionInfoItem

Class AbstractVersionInfoItem

AbstractVersionInfoItem implements VersionInfoItemInterface

Direct known subclasses

VersionInfoDatabaseItem, VersionInfoFileItem

Methods summary

public __construct( NonEmptyStringType $name, NonEmptyStringType $version, NonEmptyStringType $vendor, NonEmptyStringType $changelogVersionURL, DateTime $installationDate, BoolType $installedStatus )

AbstractVersionInfoItem constructor.

public getName( void ) : string

Returns the name of version history item.

public getVersion( void ) : string

Returns the version of version history item.

public getInstallationDate( void ) : DateTime

Returns the installation date of version history item.

public getInstalledStatus( void ) : string

Returns the status of the Installation.

public setIsInstalledTargetVersion( boolean $isInstalledTargetVersion ) : VersionInfoItemInterface

Mark this version info item as installed target version and returns VersionInfoItemInterface.

public isInstalledTargetVersion( void ) : boolean

Returns true if this version info item is an installed target version.

public getVendor( void ) : string

Returns the vendor of version info item.

public getChangelogVersionURL( void ) : string

Returns the changelog url of version info item.

public setOriginInstallationVersion( $isOriginInstallationVersion ) : VersionInfoItemInterface

Mark this version info item as origin installation version and returns VersionInfoItemInterface.

public isOriginInstallationVersion( void ) : boolean

Returns true if target version is the oldest one.

public setCurrentInstallationVersion( boolean $isCurrentInstallationVersion ) : VersionInfoItemInterface

Mark this version info item as Current target version and returns VersionInfoItemInterface.

public isCurrentInstallationVersion( void ) : boolean

Returns true if target version is the oldest one.

public isForcedInstallationVersion( void ) : boolean

Mark this version info item as forced installation version and returns VersionInfoItemInterface.

public setForcedInstallationVersion( boolean $isForcedInstallationVersion ) : VersionInfoItemInterface

Returns true if installation version is a forced installation.

public isFailedInstallationVersion( void ) : boolean

Mark this version info item as failed installation version and returns VersionInfoItemInterface.

public setFailedInstallationVersion( boolean $isFailedInstallationVersion ) : VersionInfoItemInterface

Returns true if installation version is a failed installation.

Properties summary

protected $name : string

		
protected $version : string

		
protected $vendor : string

		
protected $changelogVersionURL : string

		
protected $installationDate : DateTime

Installation date of the originally install full shop version.


		
protected $installedStatus : string

		
protected $isInstalledTargetVersion : boolean
false
protected $isOriginInstallationVersion : boolean
false
protected $isCurrentInstallationVersion : boolean
false
protected $isForcedInstallationVersion : boolean
false
protected $isFailedInstallationVersion : boolean
false