Jelix 1.6.40

jInstallerComponentPlugin extends jInstallerComponentBase
in package

EXPERIMENTAL a class to install a module.

Tags
subpackage

installer

experimental
deprecated
since
1.2

Table of Contents

$dependencies  : mixed
list of dependencies of the module
$inError  : mixed
code error of the installation
$identityFile  : string
$identityNamespace  : string
$identityReaded  : bool
$jelixMaxVersion  : string
$jelixMinVersion  : string
$mainInstaller  : jInstaller
$moduleInfos  : array<string|int, jInstallerModuleInfos>
list of information about the module for each entry points
$name  : string
$path  : string
$rootName  : string
$sourceDate  : string
$sourceVersion  : string
__construct()  : mixed
addModuleInfos()  : mixed
checkJelixVersion()  : mixed
checkVersion()  : mixed
getAccessLevel()  : mixed
getInstalledVersion()  : mixed
getInstaller()  : jIInstallerComponent
get the object which is responsible to install the component. this object should implement jIInstallerComponent.
getInstallParameters()  : mixed
getJelixVersion()  : mixed
getName()  : mixed
getPath()  : mixed
getSourceDate()  : mixed
getSourceVersion()  : mixed
getUpgraders()  : array<string|int, jIInstallerComponent>
return the list of objects which are responsible to upgrade the component from the current installed version of the component.
init()  : mixed
initialize the object, by reading the identity file
installFinished()  : mixed
isInstalled()  : mixed
isUpgraded()  : mixed
setInstalledVersion()  : mixed
setInstallParameters()  : mixed
upgradeFinished()  : mixed
readComponentDependencyInfo()  : array<string|int, mixed>|null
readDependencies()  : mixed
readIdentity()  : mixed
read the identity file

Properties

Methods

__construct()

public __construct(string $name, string $path, jInstaller $mainInstaller) : mixed
Parameters
$name : string

the name of the component

$path : string

the path of the component

$mainInstaller : jInstaller
Return values
mixed

checkJelixVersion()

public checkJelixVersion(mixed $jelixVersion) : mixed
Parameters
$jelixVersion : mixed
Return values
mixed

checkVersion()

public checkVersion(mixed $min, mixed $max) : mixed
Parameters
$min : mixed
$max : mixed
Return values
mixed

getInstaller()

get the object which is responsible to install the component. this object should implement jIInstallerComponent.

public getInstaller(mixed $ep, mixed $installWholeApp) : jIInstallerComponent
Parameters
$ep : mixed

the entry point

$installWholeApp : mixed

true if the installation is done during app installation

Return values
jIInstallerComponent

the installer, or null if there isn't any installer or false if the installer is useless for the given parameter

getUpgraders()

return the list of objects which are responsible to upgrade the component from the current installed version of the component.

public getUpgraders(mixed $ep) : array<string|int, jIInstallerComponent>

this method should be called after verifying and resolving dependencies. Needed components (modules or plugins) should be installed/upgraded before calling this method

Parameters
$ep : mixed

the entry point

Return values
array<string|int, jIInstallerComponent>

setInstalledVersion()

public setInstalledVersion(mixed $epId, mixed $version) : mixed
Parameters
$epId : mixed
$version : mixed
Return values
mixed

setInstallParameters()

public setInstallParameters(mixed $epId, mixed $parameters) : mixed
Parameters
$epId : mixed
$parameters : mixed
Return values
mixed

upgradeFinished()

public upgradeFinished(mixed $ep, mixed $upgrader) : mixed
Parameters
$ep : mixed
$upgrader : mixed
Return values
mixed

readComponentDependencyInfo()

protected readComponentDependencyInfo(string $type, SimpleXMLElement $dependency) : array<string|int, mixed>|null
Parameters
$type : string
$dependency : SimpleXMLElement
Return values
array<string|int, mixed>|null

Search results