Difference between revisions of "Plugin/Events"
From Joomla! Documentation
< Plugin
(→System: Webservices is a 1.5 only event) |
(→User: Add event to list) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{version| | + | <noinclude>{{version/tutor|2.5,3.x}}</noinclude> |
Joomla! ships with a variety of core events, organised into groups. These are described in the following topics. | Joomla! ships with a variety of core events, organised into groups. These are described in the following topics. | ||
=== Authentication === | === Authentication === | ||
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]] |
− | |||
=== Captcha === | === Captcha === | ||
− | * [[Plugin/Events/Editor#onInit|onInit]] | + | * [[Plugin/Events/Editor#onInit|onInit]] |
− | * [[Plugin/Events/Editor#onDisplay|onDisplay]] | + | * [[Plugin/Events/Editor#onDisplay|onDisplay]] |
− | * [[Plugin/Events/Captcha#onCheckAnswer|onCheckAnswer]] | + | * [[Plugin/Events/Captcha#onCheckAnswer|onCheckAnswer]] |
=== Content === | === Content === | ||
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentPrepare|onContentPrepare]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentAfterTitle|onContentAfterTitle]] ({{JVer|3.x}} only) |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentBeforeDisplay|onContentBeforeDisplay]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentAfterDisplay|onContentAfterDisplay]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentBeforeSave|onContentBeforeSave]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentAfterSave|onContentAfterSave]] |
− | + | * [[Plugin/Events/Content#onContentPrepareForm|onContentPrepareForm]] | |
− | + | * [[Plugin/Events/Content#onContentPrepareData|onContentPrepareData]] | |
− | * [[Plugin/Events/Content#onContentPrepareForm|onContentPrepareForm]] | + | * [[Plugin/Events/Content#onContentBeforeDelete|onContentBeforeDelete]] |
− | * [[Plugin/Events/Content#onContentPrepareData|onContentPrepareData]] | + | * [[Plugin/Events/Content#onContentAfterDelete|onContentAfterDelete]] |
− | + | * [[Plugin/Events/Content#onContentChangeState|onContentChangeState]] | |
− | * [[Plugin/Events/Content#onContentBeforeDelete|onContentBeforeDelete]] | + | * [[Plugin/Events/Content#onContentSearch|onContentSearch]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentSearchAreas|onContentSearchAreas]] |
− | |||
− | |||
− | |||
− | * [[Plugin/Events/Content#onContentChangeState|onContentChangeState]] | ||
− | |||
− | * [[Plugin/Events/Content#onContentSearch|onContentSearch]] | ||
− | * [[Plugin/Events/Content#onContentSearchAreas|onContentSearchAreas]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Editors === | === Editors === | ||
− | + | * [[Plugin/Events/Editor#onInit|onInit]] | |
− | * [[Plugin/Events/Editor#onInit|onInit]] | + | * [[Plugin/Events/Editor#onSave|onSave]] |
− | * [[Plugin/Events/Editor#onSave|onSave]] | + | * [[Plugin/Events/Editor#onSetContent|onSetContent]] |
− | * [[Plugin/Events/Editor#onSetContent|onSetContent]] | + | * [[Plugin/Events/Editor#onDisplay|onDisplay]] |
− | * [[Plugin/Events/Editor#onDisplay|onDisplay]] | + | * [[Plugin/Events/Editor#onGetContent|onGetContent]] |
− | * [[Plugin/Events/Editor#onGetContent|onGetContent]] | + | * [[Plugin/Events/Editor#onGetInsertMethod|onGetInsertMethod]] |
− | * [[Plugin/Events/Editor#onGetInsertMethod|onGetInsertMethod]] | ||
=== Extensions === | === Extensions === | ||
− | * [[Plugin/Events/Extension#onExtensionAfterInstall|onExtensionAfterInstall]] | + | * [[Plugin/Events/Extension#onExtensionAfterInstall|onExtensionAfterInstall]] |
− | * [[Plugin/Events/Extension#onExtensionAfterUninstall|onExtensionAfterUninstall]] | + | * [[Plugin/Events/Extension#onExtensionAfterUninstall|onExtensionAfterUninstall]] |
− | * [[Plugin/Events/Extension#onExtensionAfterUpdate|onExtensionAfterUpdate]] | + | * [[Plugin/Events/Extension#onExtensionAfterUpdate|onExtensionAfterUpdate]] |
=== Finder === | === Finder === | ||
− | * [[Plugin/Events/Finder#onFinderCategoryChangeState|onFinderCategoryChangeState]] | + | * [[Plugin/Events/Finder#onFinderCategoryChangeState|onFinderCategoryChangeState]] |
− | * [[Plugin/Events/Finder#onFinderChangeState|onFinderChangeState]] | + | * [[Plugin/Events/Finder#onFinderChangeState|onFinderChangeState]] |
− | * [[Plugin/Events/Finder#onFinderBeforeDelete|onFinderAfterDelete]] | + | * [[Plugin/Events/Finder#onFinderBeforeDelete|onFinderAfterDelete]] |
− | * [[Plugin/Events/Finder#onFinderAfterDelete|onFinderAfterDelete]] | + | * [[Plugin/Events/Finder#onFinderAfterDelete|onFinderAfterDelete]] |
− | * [[Plugin/Events/Finder#onFinderBeforeSave|onFinderBeforeSave]] | + | * [[Plugin/Events/Finder#onFinderBeforeSave|onFinderBeforeSave]] |
− | * [[Plugin/Events/Finder#onFinderAfterSave|onFinderAfterSave]] | + | * [[Plugin/Events/Finder#onFinderAfterSave|onFinderAfterSave]] |
=== Quick Icons === | === Quick Icons === | ||
− | * [[Plugin/Events/Quickicon#onGetIcons|onGetIcons]] | + | * [[Plugin/Events/Quickicon#onGetIcons|onGetIcons]] |
− | |||
− | |||
− | |||
− | |||
=== System === | === System === | ||
− | + | * [[Plugin/Events/System#onAfterInitialise|onAfterInitialise]] | |
− | * [[Plugin/Events/System#onAfterInitialise|onAfterInitialise]] | + | * [[Plugin/Events/System#onAfterRoute|onAfterRoute]] |
− | * [[Plugin/Events/System#onAfterRoute|onAfterRoute]] | + | * [[Plugin/Events/System#onAfterDispatch|onAfterDispatch]] |
− | * [[Plugin/Events/System#onAfterDispatch|onAfterDispatch]] | + | * [[Plugin/Events/System#onAfterRender|onAfterRender]] |
− | * [[Plugin/Events/System#onAfterRender|onAfterRender]] | + | * [[Plugin/Events/System#onBeforeRender|onBeforeRender]] |
− | * [[Plugin/Events/System#onBeforeRender|onBeforeRender]] | + | * [[Plugin/Events/System#onBeforeCompileHead|onBeforeCompileHead]] |
− | * [[Plugin/Events/System#onBeforeCompileHead|onBeforeCompileHead]] | + | * [[Plugin/Events/System#onSearch|onSearch]] |
− | * [[Plugin/Events/System#onSearch|onSearch]] | + | * [[Plugin/Events/System#onSearchAreas|onSearchAreas]] |
− | * [[Plugin/Events/System#onSearchAreas|onSearchAreas]] | ||
=== User === | === User === | ||
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserBeforeSave|onUserBeforeSave]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserAfterSave|onUserAfterSave]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserBeforeDelete|onUserBeforeDelete]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserAfterDelete|onUserAfterDelete]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserLogin|onUserLogin]] |
− | + | * [[Plugin/Events/User#onUserLoginFailure|onUserLoginFailure]] | |
− | + | * [[Plugin/Events/User#onUserLogout|onUserLogout]] | |
− | + | * [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]] | |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserAuthorisation|onUserAuthorisation]] |
− | |||
− | |||
− | |||
− | |||
− | * [[Plugin/Events/User#onUserLogout|onUserLogout]] | ||
− | * [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]] | ||
− | * [[Plugin/Events/User#onUserAuthorisation|onUserAuthorisation]] | ||
− | |||
− | |||
<noinclude>[[Category:Plugin Development|Events]][[Category:Specifications]] | <noinclude>[[Category:Plugin Development|Events]][[Category:Specifications]] | ||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
</noinclude> | </noinclude> |
Revision as of 22:13, 28 August 2013
Joomla! ships with a variety of core events, organised into groups. These are described in the following topics.
Authentication[edit]
Captcha[edit]
Content[edit]
- onContentPrepare
- onContentAfterTitle ( only)
- onContentBeforeDisplay
- onContentAfterDisplay
- onContentBeforeSave
- onContentAfterSave
- onContentPrepareForm
- onContentPrepareData
- onContentBeforeDelete
- onContentAfterDelete
- onContentChangeState
- onContentSearch
- onContentSearchAreas
Editors[edit]
Extensions[edit]
Finder[edit]
- onFinderCategoryChangeState
- onFinderChangeState
- onFinderAfterDelete
- onFinderAfterDelete
- onFinderBeforeSave
- onFinderAfterSave
Quick Icons[edit]
System[edit]
- onAfterInitialise
- onAfterRoute
- onAfterDispatch
- onAfterRender
- onBeforeRender
- onBeforeCompileHead
- onSearch
- onSearchAreas