ExtensionDownloaderRemoteInterface
API for downloading packages from a remote server and validating the downloaded results.
Please note that this API might be modified in the future.
Table of Contents
Methods
- downloadExtension() : void
- Downloads a remote package / extension on the TYPO3 installation without installing it.
- getIdentifier() : string
- Returns the remote identifier
Methods
downloadExtension()
Downloads a remote package / extension on the TYPO3 installation without installing it.
public
downloadExtension(string $extensionKey, string $version, FileHandlingUtility $fileHandler[, string|null $verificationHash = null ][, string $pathType = 'Local' ]) : void
Parameters
- $extensionKey : string
-
a lower-cased extension key
- $version : string
-
the version to be fetched e.g. 1.5.2
- $fileHandler : FileHandlingUtility
-
the file handler which deals with unpacking the files
- $verificationHash : string|null = null
-
if given the file is verified (depending on the remote, the verification hash can be anything)
- $pathType : string = 'Local'
-
either "Local", "System" or "Global"
Tags
getIdentifier()
Returns the remote identifier
public
getIdentifier() : string