Difference between revisions of "Plugin/Events"
From Joomla! Documentation
< Plugin
(Marked this version for translation) |
|||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{version| | + | <noinclude><languages /></noinclude> |
− | Joomla! ships with a variety of core events, organised into groups. These are described in the following topics. | + | <noinclude>{{Joomla version|version=2.5|time=and after|comment=<translate><!--T:4--> |
+ | series</translate>}}</noinclude> | ||
+ | {{-}} | ||
+ | <translate><!--T:1--> | ||
+ | Joomla! ships with a variety of core events, organised into groups. These are described in the following topics.</translate> | ||
+ | |||
+ | === Authentication === | ||
+ | * [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]] | ||
− | |||
=== Captcha === | === Captcha === | ||
− | * [[Plugin/Events/ | + | * [[Plugin/Events/Captcha#onInit|onInit]] |
− | * [[Plugin/Events/ | + | * [[Plugin/Events/Captcha#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# | + | * [[Plugin/Events/Content#onContentPrepareForm|onContentPrepareForm]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentPrepareData|onContentPrepareData]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentBeforeDelete|onContentBeforeDelete]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentAfterDelete|onContentAfterDelete]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentChangeState|onContentChangeState]] |
− | * [[Plugin/Events/Content# | + | * [[Plugin/Events/Content#onContentSearch|onContentSearch]] |
− | * [[Plugin/Events/Content# | + | * [[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]] |
+ | * [[Plugin/Events/System#onGetWebServices|onGetWebServices]] | ||
=== User === | === User === | ||
− | * [[Plugin/Events/User#onUserBeforeSave|onUserBeforeSave]] | + | * [[Plugin/Events/User#onUserBeforeSave|onUserBeforeSave]] |
− | * [[Plugin/Events/User#onUserAfterSave|onUserAfterSave]] | + | * [[Plugin/Events/User#onUserAfterSave|onUserAfterSave]] |
− | * [[Plugin/Events/User#onUserBeforeDelete|onUserBeforeDelete]] | + | * [[Plugin/Events/User#onUserBeforeDelete|onUserBeforeDelete]] |
− | * [[Plugin/Events/User#onUserAfterDelete|onUserAfterDelete]] | + | * [[Plugin/Events/User#onUserAfterDelete|onUserAfterDelete]] |
− | * [[Plugin/Events/User#onUserLogin|onUserLogin]] | + | * [[Plugin/Events/User#onUserLogin|onUserLogin]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserLoginFailure|onUserLoginFailure]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserAfterLogin|onUserAfterLogin]] |
− | * [[Plugin/Events/User# | + | * [[Plugin/Events/User#onUserLogout|onUserLogout]] |
− | + | * [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]] | |
− | + | * [[Plugin/Events/User#onUserAuthorisation|onUserAuthorisation]] | |
− | |||
− | * [[Plugin/Events/User# | ||
− | * [[Plugin/Events/User# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | + | <translate>=== Other Core Component Events === <!--T:2--></translate> |
− | + | ==== Contact Component ==== | |
− | + | * [[Plugin/Events/Contact#onValidateContact|onValidateContact]] | |
− | + | * [[Plugin/Events/Contact#onSubmitContact|onSubmitContact]] | |
− | * [[Plugin/Events/ | ||
− | * [[Plugin/Events/ | ||
− | === | + | ==== Installer Component ==== |
− | * [[Plugin/Events/ | + | * [[Plugin/Events/Install#onInstallerBeforeInstallation|onInstallerBeforeInstallation]] |
− | + | * [[Plugin/Events/Install#onInstallerBeforeInstaller|onInstallerBeforeInstaller]] | |
− | + | * [[Plugin/Events/Install#onInstallerAfterInstaller|onInstallerAfterInstaller]] | |
− | |||
− | * [[Plugin/Events/ | ||
− | * [[Plugin/Events/ | ||
− | |||
− | |||
− | + | <noinclude> | |
− | + | <translate> | |
− | < | + | <!--T:3--> |
+ | [[Category:Plugin Development|Events]] | ||
+ | [[Category:Specifications]] | ||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
+ | </translate> | ||
</noinclude> | </noinclude> |
Revision as of 20:06, 30 April 2015
Joomla!
≥ 2.5
series
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
- onGetWebServices
User[edit]
- onUserBeforeSave
- onUserAfterSave
- onUserBeforeDelete
- onUserAfterDelete
- onUserLogin
- onUserLoginFailure
- onUserAfterLogin
- onUserLogout
- onUserAuthenticate
- onUserAuthorisation