Actions

Difference between revisions of "Extension Installer/Triggers/onBeforeExtensionInstall"

From Joomla! Documentation

< Extension Installer‎ | Triggers
(New page: The onBeforeExtensionInstall trigger occurs before the installation of an extension. It has the following parameters: * '''method'''<br>The method of installation that is occuring, either ...)
 
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
* '''method'''<br>The method of installation that is occuring, either 'install' or 'discover_install'.
 
* '''method'''<br>The method of installation that is occuring, either 'install' or 'discover_install'.
 
* '''type'''<br>The type of extension that is being installed, for example 'component' or 'plugin'
 
* '''type'''<br>The type of extension that is being installed, for example 'component' or 'plugin'
* '''manifest'''<br>A copy of the manifest of the extension about to be installed
+
* '''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'
 +
 
 +
 
 +
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.