Extension

The extension API consist of both back-end and front-end events as shown below.

Backend

onMSReleaseExtensionCreate

This event will run before the extension is created. You may alter data before it's created.

Parameter Explaination
&$form An array containing the form data.


onMSReleaseExtensionUpdate

This event will run whenever an extension is updated. This means that is is created once and saved again.

Parameter Explaination
&$form An array containing the form data.

Frontend

onMSReleaseExtensionShow

This will fire after the extension data has been retrieved and the extension page will be rendered. This only applies to the extension page.

Parameter Explaination
&$ext The extension data as retrieved from the database.


onMSReleaseExtensionBeforeShow

This event will run before an extension is shown anywhere. This also means it applies to all modules.

Parameter Explaination
&$ext The extension data as retrieved from the database.


onMSReleaseExtensionAfterShow

This event will run after an extension has been shown anywhere. This also means it applies to all modules.

Parameter Explaination
$ext The extension data as retrieved from the database. This is not a reference.


onMSReleaseExtensionsShow

This will fire after the extensions data have been retrieved and the extensions page will be rendered. This only applies to the extensions overview page.

Parameter Explaination
&$exts An array containing all extensions that will be shown on the overview page.