Created
November 20, 2013 19:40
-
-
Save proweb/7569640 to your computer and use it in GitHub Desktop.
Joomla plugin event triggers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Each plugin type has its own set of events that trigger these plugins to execute. Each plugin can use one or more event triggers but there is no need to use all the event triggers available, just pick out the ones you need. You also have the freedom to create your own custom plugin event triggers in your components, however, that is also outside the scope of this book. The following table summarizes the types of plugins available and their respective event triggers: | |
Plugin type Event trigger | |
Authentication onUserAuthenticate | |
onUserAuthorisationFailure | |
Captcha onCheckAnswer | |
onDisplay | |
onInit | |
Content onContentAfterDelete | |
onContentAfterDisplay | |
onContentAfterSave | |
onContentAfterTitle | |
onContentBeforeDelete | |
onContentBeforeDisplay | |
onContentBeforeSave | |
onContentChangeState | |
onContentPrepare | |
onContentPrepareData | |
onContentPrepareForm | |
onContentSearch | |
onContentSearchAreas | |
Editors onDisplay | |
onGetContent | |
onGetInsertMethod | |
onInit | |
onSave | |
onSetContent | |
Editors-XTD onDisplay | |
Extension onExtensionAfterInstall | |
onExtensionAfterSave | |
onExtensionAfterUninstall | |
onExtensionAfterUpdate | |
onExtensionBeforeInstall | |
onExtensionBeforeSave | |
onExtensionBeforeUninstall | |
onExtensionBeforeUpdate | |
Quick Icons onGetIcons | |
Search onContentSearchAreas | |
onContentSearch | |
Smart Search onFinderAfterDelete | |
onFinderAfterSave | |
onFinderBeforeSave | |
onFinderCategoryChangeState | |
onFinderChangeState | |
System onAfterDispatch | |
onAfterInitialise | |
onAfterRender | |
onAfterRoute | |
User onUserAfterDelete | |
onUserAfterSave | |
onUserBeforeDelete | |
onUserBeforeSave | |
onUserLogin | |
onUserLogout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment