Upgrade
Table of Contents
- $upgrade : mixed
- $upgradeVersion : mixed
- getUpgradedVersion() : array<string|int, mixed>
- Get all upgraded versions in actual install.
- isUpgrade() : bool
- Get if the installation is a upgrade.
- isUpgradedVersion() : bool
- Get if version is upgraded.
- isUpgradeOff() : $this
- Set that the installation not is an upgrade.
- isUpgradeOn() : $this
- Set that the installation is an upgrade.
- setUpgradedVersion() : self
- Set all upgraded version in actual install.
- upgradedVersionOn() : self
- Set that version is upgraded.
Properties
$upgrade
protected
mixed
$upgrade
= false
$upgradeVersion
protected
mixed
$upgradeVersion
= []
Methods
getUpgradedVersion()
Get all upgraded versions in actual install.
public
getUpgradedVersion() : array<string|int, mixed>
Return values
array<string|int, mixed> —isUpgrade()
Get if the installation is a upgrade.
public
isUpgrade() : bool
Return values
bool —isUpgradedVersion()
Get if version is upgraded.
public
isUpgradedVersion(int $version) : bool
Parameters
- $version : int
Return values
bool —isUpgradeOff()
Set that the installation not is an upgrade.
public
isUpgradeOff() : $this
Return values
$this —isUpgradeOn()
Set that the installation is an upgrade.
public
isUpgradeOn() : $this
Return values
$this —setUpgradedVersion()
Set all upgraded version in actual install.
public
setUpgradedVersion(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
self —upgradedVersionOn()
Set that version is upgraded.
public
upgradedVersionOn(int $version) : self
Parameters
- $version : int