\rex_install

Summary

Methods
Properties
Constants
downloadAddon()
updateAddon()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

downloadAddon()

downloadAddon(string  $addonKey, string  $version) : void

Downloads and unzips a AddOn from redaxo.org into the AddOns folder.

Installation and Activation needs to be triggered in a separate step.

Parameters

string $addonKey

e.g. "yform"

string $version

e.g. "3.2.1"

Throws

\rex_exception

updateAddon()

updateAddon(string  $addonKey, string  $version) : void

Updates an already downloaded AddOn from redaxo.org with a newer version.

The AddOn is not required to be installed beforehand.

Parameters

string $addonKey

e.g. "yform"

string $version

e.g. "3.2.1"

Throws

\rex_exception