Base class for different extension installers.
All extension have this in common:
package | Default |
---|
abort(): void
fetchFiles(): void
Throws |
|
---|
getConfig(): \ExtensionConfig|null
Before an extension is installed, we need to read the config file. That's why the extension if fetched into a temp folder first.
\ExtensionConfig|null
getXmlFolder(string $dir): string|null
string
Root dir of question theme
string|null
Folder as string if config.xml is found; otherwise null
install(): void
setFileFetcher(\LimeSurvey\ExtensionInstaller\FileFetcher $fileFetcher): void
uninstall(): void
update(): void
fileFetcher :\LimeSurvey\ExtensionInstaller\FileFetcher