Class

eZPackageHandler

class eZPackageHandler

Methods

__construct(string $handlerType, array $parameters = array())

Constructor

extractInstallContent()

install($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

uninstall($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

handlerType()

reset()

explainInstallItem($package, $installItem, $requestedInfo = array())

add($packageType, $package, $cli, $parameters)

handleAddParameters($packageType, $package, $cli, $arguments)

createDependencyNode($package, $dependencyNode, $dependencyItem, $dependencySection)

parseDependencyNode($package, $dependencyNode, $dependencyParameters, $dependencySection)

createDependencyText($package, $dependencyItem, $dependencySection)

createInstallNode($package, $installNode, $installItem, $installType)

parseInstallNode($package, $installNode, $installParameters, $isInstall)

isErrorElement($elementID, $installParameters)

Details

at line 25
public __construct(string $handlerType, array $parameters = array())

Constructor

Parameters

string $handlerType
array $parameters

at line 37
public extractInstallContent()

at line 46
public install($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

Parameters

$package
$installType
$parameters
$name
$os
$filename
$subdirectory
$content
$installParameters
$installData

at line 57
public uninstall($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

Parameters

$package
$installType
$parameters
$name
$os
$filename
$subdirectory
$content
$installParameters
$installData

at line 67
public handlerType()

at line 75
public reset()

at line 89
public explainInstallItem($package, $installItem, $requestedInfo = array())

Parameters

$package
$installItem
$requestedInfo

at line 97
public add($packageType, $package, $cli, $parameters)

Parameters

$packageType
$package
$cli
$parameters

at line 111
public handleAddParameters($packageType, $package, $cli, $arguments)

Parameters

$packageType
$package
$cli
$arguments

at line 131
public createDependencyNode($package, $dependencyNode, $dependencyItem, $dependencySection)

Parameters

$package
$dependencyNode
$dependencyItem
$dependencySection

at line 143
public parseDependencyNode($package, $dependencyNode, $dependencyParameters, $dependencySection)

Parameters

$package
$dependencyNode
$dependencyParameters
$dependencySection

at line 154
public createDependencyText($package, $dependencyItem, $dependencySection)

Parameters

$package
$dependencyItem
$dependencySection

at line 166
public createInstallNode($package, $installNode, $installItem, $installType)

Parameters

$package
$installNode
$installItem
$installType

at line 178
public parseInstallNode($package, $installNode, $installParameters, $isInstall)

Parameters

$package
$installNode
$installParameters
$isInstall

at line 188
public isErrorElement($elementID, $installParameters)

Parameters

$elementID
$installParameters