Property | Type | Description | |
---|---|---|---|
$generatePackageOrder | |||
$message | |||
$package | rex_package |
Method | Description | |
---|---|---|
activate ( ) : boolean | Activates a package. | |
checkConflicts ( ) : boolean | Checks whether the package is in conflict with other packages. | |
checkDependencies ( ) : boolean | Checks if another Package which is activated, depends on the given package. | |
checkPackageConflict ( string $packageId ) : boolean | Checks whether the package is in conflict with another package. | |
checkPackageRequirement ( string $packageId ) : boolean | Checks whether the package requirement is met. | |
checkRedaxoRequirement ( string $redaxoVersion ) : boolean | Checks whether the redaxo requirement is met. | |
checkRequirements ( ) : boolean | Checks whether the requirements are met. | |
deactivate ( ) : boolean | Deactivates a package. | |
delete ( ) : boolean | Deletes a package. | |
factory ( rex_package $package ) : static | Creates the manager for the package. | |
generatePackageOrder ( ) | Generates the package order. | |
getMessage ( ) : string | Returns the message. | |
install ( boolean $installDump = true ) : boolean | Installs a package. | |
synchronizeWithFileSystem ( ) | Synchronizes the packages with the file system. | |
uninstall ( boolean $installDump = true ) : boolean | Uninstalls a package. |
Method | Description | |
---|---|---|
__construct ( rex_package $package, string $i18nPrefix ) | Constructor. | |
_delete ( boolean $ignoreState = false ) : boolean | Deletes a package. | |
i18n ( string $key ) : string | Translates the given key. | |
saveConfig ( ) | Saves the package config. | |
wrongPackageId ( string $addonName, string $pluginName = null ) : string |
Method | Description | |
---|---|---|
matchVersionConstraints ( string $version, string $constraints ) : boolean | Checks the version of the requirement. | |
readPackageFolder ( string $folder ) : string[] | Returns the subfolders of the given folder. |
protected __construct ( rex_package $package, string $i18nPrefix ) | ||
$package | rex_package | Package |
$i18nPrefix | string | Prefix for i18n |
public checkConflicts ( ) : boolean | ||
return | boolean |
public checkDependencies ( ) : boolean | ||
return | boolean |
public checkPackageConflict ( string $packageId ) : boolean | ||
$packageId | string | Package ID |
return | boolean |
public checkPackageRequirement ( string $packageId ) : boolean | ||
$packageId | string | Package ID |
return | boolean |
public checkRedaxoRequirement ( string $redaxoVersion ) : boolean | ||
$redaxoVersion | string | REDAXO version |
return | boolean |
public checkRequirements ( ) : boolean | ||
return | boolean |
public deactivate ( ) : boolean | ||
return | boolean | TRUE on success, FALSE on error |
public static factory ( rex_package $package ) : static | ||
$package | rex_package | Package |
return | static |
public static generatePackageOrder ( ) |
public static synchronizeWithFileSystem ( ) |