Extension Installer/Triggers/onAfterExtensionUpdate: Difference between revisions
From Joomla! Documentation
No edit summary |
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''' A copy of the installer instance that was used. This it to get access to any error messages that might have occurred. | |||
# '''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:
- installer A copy of the installer instance that was used. This it to get access to any error messages that might have occurred.
- 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.