Extension Installer/Triggers/onAfterExtensionUpdate: Difference between revisions

From Joomla! Documentation

Pasamio (talk | contribs)
No edit summary
Cmb (talk | contribs)
Corrected occured to occurred.
 
Line 1: Line 1:
The onAfterExtensionUpdate trigger occurs after the update of an extension. It has a two parameters:
The ''onAfterExtensionUpdate'' trigger occurs after the update of an extension. It has a two parameters:
* '''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''' A copy of the installer instance that was used. This it to get access to any error messages that might have occurred.
* '''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''' 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) or ''false'' if the installation failed.

Latest revision as of 19:52, 16 September 2022

The onAfterExtensionUpdate trigger occurs after the update of an extension. It has a two parameters:

  1. installer A copy of the installer instance that was used. This it to get access to any error messages that might have occurred.
  2. 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) or false if the installation failed.