com.woltlab.wcf.acp.package
PackageUninstallation executes package uninstallations.
PackageInstallationQueue | --PackageUninstallation
| Class | Description |
|---|---|
PackageInstallationRollback |
PackageInstallationRollback extends PackageUninstallation for a rollback during the installation of a package. |
| Type | Name |
|---|---|
mixed |
$pipSortOrder |
mixed |
$stepAfterPIP |
| Return | Name |
|---|---|
PackageUninstallation |
__construct(integer $queueID)
|
static void |
addQueueEntries(Package $package, [array $packages = array()])
|
void |
assignPackageInfo()
|
void |
calcProgress( $currentStep)
|
static void |
checkDependencies()
|
void |
checkPackageRequirements()
|
void |
deleteFiles(string $targetDir, string $files, [booelan $deleteEmptyTargetDir = false], [boolean $deleteEmptyDirectories = true])
|
string |
finishUninstallation()
|
void |
getInstallationInfo()
|
static array |
getPackageDependencies(integer $packageID)
|
void |
getTotalStep()
|
void |
openPackage(array $info)
|
void |
showInstallationFrame()
|
void |
startUninstallation()
|
void |
uninstall()
|
void |
uninstallPackage()
|
void |
uninstallPackageInstallationPlugins()
|
protected mixed $pipSortOrder = 'ASC'
Redefinition of: PackageInstallationQueue::$pipSortOrder
protected mixed $stepAfterPIP = 'packageInstallationPlugins'
Redefinition of: PackageInstallationQueue::$stepAfterPIP
PackageInstallationQueue::$action, PackageInstallationQueue::$cancelable, PackageInstallationQueue::$confirmInstallation, PackageInstallationQueue::$done, PackageInstallationQueue::$nextStep, PackageInstallationQueue::$package, PackageInstallationQueue::$packageID, PackageInstallationQueue::$packageType, PackageInstallationQueue::$parentQueueID, PackageInstallationQueue::$processNo, PackageInstallationQueue::$queueID, PackageInstallationQueue::$step
public PackageUninstallation __construct(integer $queueID)
Creates a new PackageUninstallation object.
$queueID Redefinition of: PackageInstallationQueue::__construct()
public static void addQueueEntries(Package $package, [array $packages = array()])
Adds an uninstall entry to the package installation queue.
$package $packages protected void assignPackageInfo()
Redefinition of: PackageInstallationQueue::assignPackageInfo()
Redefined in descendants as: PackageInstallationRollback::assignPackageInfo()
protected void calcProgress( $currentStep)
public static void checkDependencies()
Checks whether this package is required by other packages.
If so than a template will be displayed to warn the user that a further uninstallation will uninstall also the dependent packages
protected void checkPackageRequirements()
public void deleteFiles(string $targetDir, string $files, [booelan $deleteEmptyTargetDir = false], [boolean $deleteEmptyDirectories = true])
Deletes the given list of files from the target dir.
$targetDir $files $deleteEmptyDirectories $deleteEmptyTargetDir protected string finishUninstallation()
Finalises uninstallation of this package.
Redefined in descendants as: PackageInstallationRollback::finishUninstallation()
protected void getInstallationInfo()
Redefinition of: PackageInstallationQueue::getInstallationInfo()
protected static array getPackageDependencies(integer $packageID)
Get all packages which require this package.
$packageID protected void getTotalStep()
Redefinition of: PackageInstallationQueue::getTotalStep()
protected void openPackage(array $info)
Creates a Package object with the given package information.
$info Redefined in descendants as: PackageInstallationRollback::openPackage()
protected void showInstallationFrame()
Shows the uninstallation output frame.
Redefined in descendants as: PackageInstallationRollback::showInstallationFrame()
protected void startUninstallation()
Starts the uninstallation of this package.
Redefined in descendants as: PackageInstallationRollback::startUninstallation()
protected void uninstall()
Steps through the uninstallation process of a package.
Redefined in descendants as: PackageInstallationRollback::uninstall()
protected void uninstallPackage()
Removes package information from database.
protected void uninstallPackageInstallationPlugins()
Uninstalls all package installation plugins of this package.
PackageInstallationQueue::__construct(), PackageInstallationQueue::assignPackageInfo(), PackageInstallationQueue::assignQueueInfo(), PackageInstallationQueue::calcProgress(), PackageInstallationQueue::checkPackageInstallationQueue(), PackageInstallationQueue::checkSafeMode(), PackageInstallationQueue::executePackageInstallationPlugin(), PackageInstallationQueue::getAction(), PackageInstallationQueue::getCurrentStep(), PackageInstallationQueue::getInstallationInfo(), PackageInstallationQueue::getNewProcessNo(), PackageInstallationQueue::getNextPackageInstallationPlugin(), PackageInstallationQueue::getPackage(), PackageInstallationQueue::getPackageID(), PackageInstallationQueue::getPackageInstallationPlugin(), PackageInstallationQueue::getTotalStep(), PackageInstallationQueue::loadPackageInstallationPlugins(), PackageInstallationQueue::makeClear(), PackageInstallationQueue::openQueue(), PackageInstallationQueue::showPackageInstallationException()