Class

eZPackageCreationHandler

class eZPackageCreationHandler

Methods

__construct(int $id, string $name, array $steps)

Constructor

generateStepMap($package, $persistentData)

attributes()

hasAttribute($name)

attribute($name)

initializeStepMethodMap()

loadStepMethodMap()

validateStepMethodMap()

commitStepMethodMap()

stepMap()

stepTemplate($step)

initializeStep($package, $http, $step, $persistentData, $tpl)

loadStep($package, $http, $currentStepID, $persistentData, $tpl, $module)

validateStep($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

validateAndAdvanceStep($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

commitStep($package, $http, $step, $persistentData, $tpl)

finalize($package, $http, $persistentData)

packageInformationStep()

packageMaintainerStep()

packageChangelogStep()

packageThumbnailStep()

packageInstallType($package, $persistentData)

packageInitialState($package, $persistentData)

initialChangelogEntry($package, $http, $step, $persistentData, $tpl)

packageType($package, $persistentData)

createPackage($package, $http, $persistentData, $cleanupFiles, $storePackage = true)

generatePackageInformation($packageInformation, $package, $http, $step, $persistentData)

initializePackageInformation($package, $http, $step, $persistentData, $tpl)

validatePackageInformation($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

commitPackageInformation($package, $http, $step, $persistentData, $tpl)

initializePackageChangelog($package, $http, $step, $persistentData, $tpl)

validatePackageChangelog($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

commitPackageChangelog($package, $http, $step, $persistentData, $tpl)

initializePackageMaintainer($package, $http, $step, $persistentData, $tpl)

validatePackageMaintainer($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

commitPackageMaintainer($package, $http, $step, $persistentData, $tpl)

checkPackageMaintainer($package, $persistentData)

initializePackageThumbnail($package, $http, $step, $persistentData, $tpl)

validatePackageThumbnail($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

commitPackageThumbnail($package, $http, $step, $persistentData, $tpl)

Details

at line 27
public __construct(int $id, string $name, array $steps)

Constructor

Parameters

int $id
string $name
array $steps

at line 47
public generateStepMap($package, $persistentData)

Parameters

$package
$persistentData

at line 98
public attributes()

at line 103
public hasAttribute($name)

Parameters

$name

at line 108
public attribute($name)

Parameters

$name

at line 119
public initializeStepMethodMap()

at line 124
public loadStepMethodMap()

at line 129
public validateStepMethodMap()

at line 134
public commitStepMethodMap()

at line 143
public stepMap()

at line 148
public stepTemplate($step)

Parameters

$step

at line 165
public initializeStep($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 181
public loadStep($package, $http, $currentStepID, $persistentData, $tpl, $module)

Parameters

$package
$http
$currentStepID
$persistentData
$tpl
$module

at line 202
public validateStep($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

Parameters

$package
$http
$currentStepID
$stepMap
$persistentData
$errorList

at line 223
public validateAndAdvanceStep($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

Parameters

$package
$http
$currentStepID
$stepMap
$persistentData
$errorList

at line 241
public commitStep($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 259
public finalize($package, $http, $persistentData)

Parameters

$package
$http
$persistentData

at line 372
public packageInformationStep()

at line 387
public packageMaintainerStep()

at line 403
public packageChangelogStep()

at line 418
public packageThumbnailStep()

at line 435
public packageInstallType($package, $persistentData)

Parameters

$package
$persistentData

at line 447
public packageInitialState($package, $persistentData)

Parameters

$package
$persistentData

at line 458
public initialChangelogEntry($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 471
public packageType($package, $persistentData)

Parameters

$package
$persistentData

at line 487
public createPackage($package, $http, $persistentData, $cleanupFiles, $storePackage = true)

Parameters

$package
$http
$persistentData
$cleanupFiles
$storePackage

at line 597
public generatePackageInformation($packageInformation, $package, $http, $step, $persistentData)

Parameters

$packageInformation
$package
$http
$step
$persistentData

at line 605
public initializePackageInformation($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 635
public validatePackageInformation($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

Parameters

$package
$http
$currentStepID
$stepMap
$persistentData
$errorList

at line 716
public commitPackageInformation($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 724
public initializePackageChangelog($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 747
public validatePackageChangelog($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

Parameters

$package
$http
$currentStepID
$stepMap
$persistentData
$errorList

at line 788
public commitPackageChangelog($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 825
public initializePackageMaintainer($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 842
public validatePackageMaintainer($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

Parameters

$package
$http
$currentStepID
$stepMap
$persistentData
$errorList

at line 877
public commitPackageMaintainer($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 887
public checkPackageMaintainer($package, $persistentData)

Parameters

$package
$persistentData

at line 917
public initializePackageThumbnail($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl

at line 925
public validatePackageThumbnail($package, $http, $currentStepID, $stepMap, $persistentData, $errorList)

Parameters

$package
$http
$currentStepID
$stepMap
$persistentData
$errorList

at line 986
public commitPackageThumbnail($package, $http, $step, $persistentData, $tpl)

Parameters

$package
$http
$step
$persistentData
$tpl