Difference between revisions of "Extension Installer/Triggers/onBeforeExtensionInstall"
From Joomla! Documentation
< Extension Installer | Triggers
Line 4: | Line 4: | ||
* '''manifest'''<br>A copy of the manifest of the extension about to be installed. This is only populated when the method is 'install'. | * '''manifest'''<br>A copy of the manifest of the extension about to be installed. This is only populated when the method is 'install'. | ||
* '''extension'''<br>A copy of the extension table entry of the extension that is about to be installed. This is only populated when the method is 'discover_install' | * '''extension'''<br>A copy of the extension table entry of the extension that is about to be installed. This is only populated when the method is 'discover_install' | ||
+ | |||
+ | |||
+ | Note: The extension adapter may shift internally to an update procedure from an install procedure. the same information is passed however the functional actions are different. |
Latest revision as of 23:49, 5 October 2008
The onBeforeExtensionInstall trigger occurs before the installation of an extension. It has the following parameters:
- method
The method of installation that is occuring, either 'install' or 'discover_install'. - type
The type of extension that is being installed, for example 'component' or 'plugin' - manifest
A copy of the manifest of the extension about to be installed. This is only populated when the method is 'install'. - extension
A copy of the extension table entry of the extension that is about to be installed. This is only populated when the method is 'discover_install'
Note: The extension adapter may shift internally to an update procedure from an install procedure. the same information is passed however the functional actions are different.