Actions

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

From Joomla! Documentation

< Extension Installer‎ | Triggers
 
Line 2: Line 2:
 
* '''installer'''<br>A copy of the installer instance that was used. This it to get access to any error messages that might have occured.
 
* '''installer'''<br>A copy of the installer instance that was used. This it to get access to any error messages that might have occured.
 
* '''eid'''<br>The extension ID of the installed extension. The extension ID may be either a valid numeric value (positive integer), a zero value (when the extension doesn't have a corresponding entry in the extensions table but it is valid; a combined 1.5 language pack behaves this way) or false if the installation failed.
 
* '''eid'''<br>The extension ID of the installed extension. The extension ID may be either a valid numeric value (positive integer), a zero value (when the extension doesn't have a corresponding entry in the extensions table but it is valid; a combined 1.5 language pack behaves this way) or false if the installation failed.
 +
 +
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:50, 5 October 2008

The onAfterExtensionInstall trigger occurs after the installation of an extension. It has two parameters:

  • installer
    A copy of the installer instance that was used. This it to get access to any error messages that might have occured.
  • eid
    The extension ID of the installed extension. The extension ID may be either a valid numeric value (positive integer), a zero value (when the extension doesn't have a corresponding entry in the extensions table but it is valid; a combined 1.5 language pack behaves this way) or false if the installation failed.

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.