Legend of the Green Dragon

Install extends InstallerAbstract
in package
Uses CheckInstallation, Version

Table of Contents

TRANSLATOR_DOMAIN  = 'app_installer'
$dataDir  : mixed
$doctrine  : mixed
$hasMigration  : mixed
$input  : mixed
$installedVersionData  : mixed
$installedVersionDataFile  : mixed
$lotgd_versions  : array<string|int, mixed>
Versions of game.
$output  : mixed
$stepsProcessed  : mixed
$stepsProcessedFile  : mixed
$style  : mixed
$totaSteps  : mixed
$translator  : mixed
$upgradeVersion  : mixed
__construct()  : mixed
checkInstallation()  : bool
Check if can install this version of game.
configureConsole()  : mixed
Configure command with input and output.
finish()  : bool
Last step of install/upgrade.
getDirData()  : string
getFullListOfVersion()  : array<string|int, mixed>
Get array of versions.
getInstallerVersions()  : array<string|int, mixed>
Get array of versions.
getIntVersion()  : int
Get int value for a string version.
getNameVersion()  : string
Get name for a numeric version.
getProjectDir()  : string
getSteps()  : int
getVersionInstalled()  : int
Determine the installed version.
getVersionsToInstall()  : array<string|int, mixed>
Get an array with versions that need install.
hasMigration()  : int
isValidVersion()  : bool
Check if ID is a valid version.
setProjectDir()  : self
setStepComplete()  : mixed
setStepIncomplete()  : mixed
start()  : bool
First step of install/upgrade.
stepStatus()  : mixed

Constants

Properties

$installedVersionData

protected mixed $installedVersionData

$installedVersionDataFile

protected mixed $installedVersionDataFile

$lotgd_versions

Versions of game.

protected array<string|int, mixed> $lotgd_versions = [ 'Clean Install' => -1, //needed just as a placeholder for new installs. '0.9' => 900, '0.9.1' => 901, '0.9.2' => 902, '0.9.3' => 903, '0.9.4' => 904, '0.9.5' => 905, '0.9.6' => 906, '0.9.7' => 907, '0.9.8-prerelease.1' => 908, '0.9.8-prerelease.2' => 909, '0.9.8-prerelease.3' => 910, '0.9.8-prerelease.4' => 911, '0.9.8-prerelease.5' => 912, '0.9.8-prerelease.6' => 913, '0.9.8-prerelease.7' => 914, '0.9.8-prerelease.8' => 915, '0.9.8-prerelease.9' => 916, '0.9.8-prerelease.10' => 917, '0.9.8-prerelease.11' => 918, '0.9.8-prerelease.12' => 919, '0.9.8-prerelease.13' => 920, '0.9.8-prerelease.14' => 921, '0.9.8-prerelease.14a' => 922, '1.0.0' => 10000, '1.0.1' => 10001, '1.0.2' => 10002, '1.0.3' => 10003, '1.0.4' => 10004, '1.0.5' => 10005, '1.0.6' => 10006, '1.1.0 Dragonprime Edition' => 10100, '1.1.1 Dragonprime Edition' => 10101, '1.1.2 Dragonprime Edition' => 10102, '1.1.1.0 Dragonprime Edition +nb' => 10103, '1.1.1.1 Dragonprime Edition +nb' => 10104, '2.0.0 IDMarinas Edition' => 20000, '2.0.1 IDMarinas Edition' => 20001, '2.1.0 IDMarinas Edition' => 20100, '2.2.0 IDMarinas Edition' => 20200, '2.3.0 IDMarinas Edition' => 20300, '2.4.0 IDMarinas Edition' => 20400, '2.5.0 IDMarinas Edition' => 20500, '2.6.0 IDMarinas Edition' => 20600, '2.7.0 IDMarinas Edition' => 20700, '3.0.0 IDMarinas Edition' => 30000, '4.0.0 IDMarinas Edition' => 40000, //-- New Installer '4.1.0 IDMarinas Edition' => 40100, '4.2.0 IDMarinas Edition' => 40200, '4.3.0 IDMarinas Edition' => 40300, '4.4.0 IDMarinas Edition' => 40400, '4.5.0 IDMarinas Edition' => 40500, '4.6.0 IDMarinas Edition' => 40600, '4.7.0 IDMarinas Edition' => 40700, '4.8.0 IDMarinas Edition' => 40800, '4.9.0 IDMarinas Edition' => 40900, '4.10.0 IDMarinas Edition' => 41000, '4.11.0 IDMarinas Edition' => 41100, '4.12.0 IDMarinas Edition' => 41200, '5.0.0 IDMarinas Edition' => 50000, //-- New Installer '5.1.0 IDMarinas Edition' => 50100, '5.1.1 IDMarinas Edition' => 50101, '5.1.2 IDMarinas Edition' => 50102, '5.1.3 IDMarinas Edition' => 50103, '5.1.4 IDMarinas Edition' => 50104, '5.1.5 IDMarinas Edition' => 50105, '5.1.6 IDMarinas Edition' => 50106, '5.2.0 IDMarinas Edition' => 50200, '5.2.1 IDMarinas Edition' => 50201, '5.2.2 IDMarinas Edition' => 50202, '5.2.3 IDMarinas Edition' => 50203, '5.2.4 IDMarinas Edition' => 50204, '5.2.5 IDMarinas Edition' => 50205, '5.3.0 IDMarinas Edition' => 50300, '5.3.1 IDMarinas Edition' => 50301, '5.3.2 IDMarinas Edition' => 50302, '5.3.3 IDMarinas Edition' => 50303, '5.3.4 IDMarinas Edition' => 50304, '5.3.5 IDMarinas Edition' => 50305, '5.4.0 IDMarinas Edition' => 50400, '5.4.1 IDMarinas Edition' => 50401, '5.4.2 IDMarinas Edition' => 50402, '5.4.3 IDMarinas Edition' => 50403, '5.5.0 IDMarinas Edition' => 50500, '5.5.1 IDMarinas Edition' => 50501, '5.5.2 IDMarinas Edition' => 50502, '5.5.3 IDMarinas Edition' => 50503, '5.5.4 IDMarinas Edition' => 50504, '5.5.5 IDMarinas Edition' => 50505, '5.5.6 IDMarinas Edition' => 50506, '5.5.7 IDMarinas Edition' => 50507, '5.5.8 IDMarinas Edition' => 50508, '5.5.9 IDMarinas Edition' => 50509, '6.0.0 IDMarinas Edition' => 60000, '6.0.1 IDMarinas Edition' => 60001, '6.0.2 IDMarinas Edition' => 60002, '6.0.3 IDMarinas Edition' => 60003, '6.0.4 IDMarinas Edition' => 60004, '6.1.0 IDMarinas Edition' => 60100, '6.1.1 IDMarinas Edition' => 60101, '6.2.0 IDMarinas Edition' => 60200, '6.2.1 IDMarinas Edition' => 60201, '7.0.0 IDMarinas Edition' => 70000, //-- Latest version compatible with the old module system (May be) '7.0.1 IDMarinas Edition' => 70001, '7.0.2 IDMarinas Edition' => 70002, '7.0.3 IDMarinas Edition' => 70003, '7.0.4 IDMarinas Edition' => 70004, '7.1.0 IDMarinas Edition' => 70100, '7.1.1 IDMarinas Edition' => 70101, '7.1.2 IDMarinas Edition' => 70102, '7.1.3 IDMarinas Edition' => 70103, '7.1.4 IDMarinas Edition' => 70104, '7.1.5 IDMarinas Edition' => 70105, '7.1.6 IDMarinas Edition' => 70106, '7.1.7 IDMarinas Edition' => 70107, '7.1.8 IDMarinas Edition' => 70108, '7.1.9 IDMarinas Edition' => 70109, '7.1.10 IDMarinas Edition' => 70110, '7.1.11 IDMarinas Edition' => 70111, '7.1.12 IDMarinas Edition' => 70112, '7.1.13 IDMarinas Edition' => 70113, '7.2.0 IDMarinas Edition' => 70200, ]

Methods

__construct()

public __construct(EntityManagerInterface $doctrine, TranslatorInterface $translator) : mixed
Parameters
$doctrine : EntityManagerInterface
$translator : TranslatorInterface
Return values
mixed

checkInstallation()

Check if can install this version of game.

public checkInstallation(int $fromVersion, int $toVersion) : bool
Parameters
$fromVersion : int
$toVersion : int
Return values
bool

configureConsole()

Configure command with input and output.

public configureConsole(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface
Return values
mixed

finish()

Last step of install/upgrade.

public finish() : bool
Return values
bool

getFullListOfVersion()

Get array of versions.

public getFullListOfVersion() : array<string|int, mixed>
Return values
array<string|int, mixed>

getInstallerVersions()

Get array of versions.

public getInstallerVersions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIntVersion()

Get int value for a string version.

public getIntVersion(string $version) : int
Parameters
$version : string
Return values
int

getNameVersion()

Get name for a numeric version.

public getNameVersion(int $version) : string
Parameters
$version : int
Return values
string

getVersionInstalled()

Determine the installed version.

public getVersionInstalled() : int
Return values
int

getVersionsToInstall()

Get an array with versions that need install.

public getVersionsToInstall(int $fromVersion, int $toVersion) : array<string|int, mixed>
Parameters
$fromVersion : int
$toVersion : int
Return values
array<string|int, mixed>

isValidVersion()

Check if ID is a valid version.

public isValidVersion(int $version) : bool
Parameters
$version : int
Return values
bool

setProjectDir()

public setProjectDir(string $dir) : self
Parameters
$dir : string
Return values
self

setStepComplete()

public setStepComplete(mixed $step) : mixed
Parameters
$step : mixed
Return values
mixed

setStepIncomplete()

public setStepIncomplete(mixed $step) : mixed
Parameters
$step : mixed
Return values
mixed

start()

First step of install/upgrade.

public start() : bool
Return values
bool

stepStatus()

public stepStatus(mixed $step) : mixed
Parameters
$step : mixed
Return values
mixed

Search results