Documentation

rex_install
in package

Table of Contents

Methods

downloadAddon()  : void
Downloads and unzips a AddOn from redaxo.org into the AddOns folder.
updateAddon()  : void
Updates an already downloaded AddOn from redaxo.org with a newer version.

Methods

downloadAddon()

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

public downloadAddon(non-empty-string $addonKey, string $version) : void

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

Parameters
$addonKey : non-empty-string

e.g. "yform"

$version : string

e.g. "3.2.1"

Tags
throws
rex_exception

updateAddon()

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

public updateAddon(non-empty-string $addonKey, string $version) : void

The AddOn is not required to be installed beforehand.

Parameters
$addonKey : non-empty-string

e.g. "yform"

$version : string

e.g. "3.2.1"

Tags
throws
rex_exception

        
On this page

Search results