Difference between revisions of "Plugin/Events"

From Joomla! Documentation

< Plugin
(Reorder 1.5 only event to top)
(Marked this version for translation)
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Joomla! ships with a variety of core events, organised into groups.  These are described in the following topics.
+
<noinclude><languages /></noinclude>
 +
<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>
  
* [[Plugin/Events/System|System events]]
+
=== Authentication ===
* [[Plugin/Events/Content|Content events]]
+
* [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]]
* [[Plugin/Events/User|User events]]
 
* [[Plugin/Events/Editor|Editor events]]
 
  
* [[Plugin/Events/Contact|Contact events]]
+
=== Captcha ===
 +
* [[Plugin/Events/Captcha#onInit|onInit]]
 +
* [[Plugin/Events/Captcha#onDisplay|onDisplay]]
 +
* [[Plugin/Events/Captcha#onCheckAnswer|onCheckAnswer]]
  
== System ==
+
=== Content ===
* [[Plugin/Events/System#onAfterInitialise|onAfterInitialise]] {{JVer|1.5}} {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentPrepare|onContentPrepare]]
* [[Plugin/Events/System#onAfterRoute|onAfterRoute]] {{JVer|1.5}} {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentAfterTitle|onContentAfterTitle]] ({{JVer|3.x}} only)
* [[Plugin/Events/System#onAfterDispatch|onAfterDispatch]] {{JVer|1.5}} {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentBeforeDisplay|onContentBeforeDisplay]]
* [[Plugin/Events/System#onAfterRender|onAfterRender]] {{JVer|1.5}} {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentAfterDisplay|onContentAfterDisplay]]
* [[Plugin/Events/System#onBeforeRender|onBeforeRender]] {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentBeforeSave|onContentBeforeSave]]
* [[Plugin/Events/System#onBeforeCompileHead|onBeforeCompileHead]] {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentAfterSave|onContentAfterSave]]
* [[Plugin/Events/System#onSearch|onSearch]] {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentPrepareForm|onContentPrepareForm]]
* [[Plugin/Events/System#onSearchAreas|onSearchAreas]] {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentPrepareData|onContentPrepareData]]
* [[Plugin/Events/System#onGetWebServices|onGetWebServices]] {{JVer|2.5}}
+
* [[Plugin/Events/Content#onContentBeforeDelete|onContentBeforeDelete]]
 +
* [[Plugin/Events/Content#onContentAfterDelete|onContentAfterDelete]]
 +
* [[Plugin/Events/Content#onContentChangeState|onContentChangeState]]
 +
* [[Plugin/Events/Content#onContentSearch|onContentSearch]]
 +
* [[Plugin/Events/Content#onContentSearchAreas|onContentSearchAreas]]
  
== Content ==
+
=== Editors ===
* [[Plugin/Events/Content#onAfterDisplay|onAfterDisplay]] {{JVer|1.5}}
+
* [[Plugin/Events/Editor#onInit|onInit]]
* [[Plugin/Events/Content#onAfterContentSave|onAfterContentSave]] {{JVer|1.5}}
+
* [[Plugin/Events/Editor#onSave|onSave]]
* [[Plugin/Events/Content#onAfterDisplayTitle|onAfterDisplayTitle]] {{JVer|1.5}}
+
* [[Plugin/Events/Editor#onSetContent|onSetContent]]
* [[Plugin/Events/Content#onAfterDisplayContent|onAfterDisplayContent]] {{JVer|1.5}}
+
* [[Plugin/Events/Editor#onDisplay|onDisplay]]
* [[Plugin/Events/Content#onPrepareContent|onPrepareContent]] {{JVer|1.5}}
+
* [[Plugin/Events/Editor#onGetContent|onGetContent]]
* [[Plugin/Events/Content#onBeforeDisplay|onBeforeDisplay]] {{JVer|1.5}}
+
* [[Plugin/Events/Editor#onGetInsertMethod|onGetInsertMethod]]
* [[Plugin/Events/Content#onBeforeContentSave|onBeforeContentSave]] {{JVer|1.5}}
 
* [[Plugin/Events/Content#onBeforeDisplayContent|onBeforeDisplayContent]] {{JVer|1.5}}
 
* [[Plugin/Events/Content#onContentPrepareForm|onContentPrepareForm]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentPrepareData|onContentPrepareData]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentAfterDelete|onContentAfterDelete]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentBeforeDelete|onContentBeforeDelete]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentBeforeDisplay|onContentBeforeDisplay]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentAfterDisplay|onContentAfterDisplay]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentBeforeSave|onContentBeforeSave]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentAfterSave|onContentAfterSave]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentChangeState|onContentChangeState]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentPrepare|onContentPrepare]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentSearch|onContentSearch]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentSearchAreas|onContentSearchAreas]] {{JVer|2.5}}{{JVer|3.1}}
 
* [[Plugin/Events/Content#onContentAfterTitle|onContentAfterTitle]] {{JVer|3.1}}
 
  
== User ==  
+
=== Extensions ===
* [[Plugin/Events/User#onBeforeDeleteUser|onBeforeDeleteUser]] {{JVer|1.5}}
+
* [[Plugin/Events/Extension#onExtensionAfterInstall|onExtensionAfterInstall]]
* [[Plugin/Events/User#onAfterDeleteUser|onAfterDeleteUser]] {{JVer|1.5}}
+
* [[Plugin/Events/Extension#onExtensionAfterUninstall|onExtensionAfterUninstall]]
* [[Plugin/Events/User#onBeforeStoreUser|onBeforeStoreUser]] {{JVer|1.5}}
+
* [[Plugin/Events/Extension#onExtensionAfterUpdate|onExtensionAfterUpdate]]
* [[Plugin/Events/User#onAfterStoreUser|onAfterStoreUser]] {{JVer|1.5}}
 
* [[Plugin/Events/User#onLoginUser|onLoginUser]] {{JVer|1.5}}
 
* [[Plugin/Events/User#onLoginUser|onLoginFailure]] {{JVer|1.5}}
 
* [[Plugin/Events/User#onLogoutUser|onLogoutUser]] {{JVer|1.5}}
 
* [[Plugin/Events/User#onLogoutUser|onLogoutFailure]] {{JVer|1.5}}
 
* [[Plugin/Events/User#onUserBeforeSave|onUserBeforeSave]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserAfterSave|onUserAfterSave]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserBeforeDelete|onUserBeforeDelete]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserAfterDelete|onUserAfterDelete]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserLogin|onUserLogin]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserLogout|onUserLogout]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserLogout|onUserLogout]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]] {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/User#onUserAuthorisation|onUserAuthorisation]] {{JVer|2.5}} {{JVer|3.1}}
 
  
== Authentication ==
+
=== Finder ===
* [[Plugin/Events/User#onAuthenticate|onAuthenticate]] {{JVer|1.5}}
+
* [[Plugin/Events/Finder#onFinderCategoryChangeState|onFinderCategoryChangeState]]
* [[Plugin/Events/User#onAuthenticateFailure|onAuthenticateFailure]] {{JVer|1.5}}
+
* [[Plugin/Events/Finder#onFinderChangeState|onFinderChangeState]]
 +
* [[Plugin/Events/Finder#onFinderBeforeDelete|onFinderAfterDelete]]
 +
* [[Plugin/Events/Finder#onFinderAfterDelete|onFinderAfterDelete]]
 +
* [[Plugin/Events/Finder#onFinderBeforeSave|onFinderBeforeSave]]
 +
* [[Plugin/Events/Finder#onFinderAfterSave|onFinderAfterSave]]
  
== Editors ==
+
=== Quick Icons ===
* [[Plugin/Events/Editor#onCustomEditorButton|onCustomEditorButton]] (editors-xtd) {{JVer|1.5}}
+
* [[Plugin/Events/Quickicon#onGetIcons|onGetIcons]]
* [[Plugin/Events/Editor#onInit|onInit]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Editor#onSave|onSave]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Editor#onSetContent|onSetContent]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Editor#onDisplay|onDisplay]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Editor#onGetContent|onGetContent]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
* [[Plugin/Events/Editor#onGetInsertMethod|onGetInsertMethod]] {{JVer|1.5}} {{JVer|2.5}} {{JVer|3.1}}
 
  
== Search ==
+
=== System ===
 +
* [[Plugin/Events/System#onAfterInitialise|onAfterInitialise]]
 +
* [[Plugin/Events/System#onAfterRoute|onAfterRoute]]
 +
* [[Plugin/Events/System#onAfterDispatch|onAfterDispatch]]
 +
* [[Plugin/Events/System#onAfterRender|onAfterRender]]
 +
* [[Plugin/Events/System#onBeforeRender|onBeforeRender]]
 +
* [[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]]
  
== Contact ==
+
=== User ===
 +
* [[Plugin/Events/User#onUserBeforeSave|onUserBeforeSave]]
 +
* [[Plugin/Events/User#onUserAfterSave|onUserAfterSave]]
 +
* [[Plugin/Events/User#onUserBeforeDelete|onUserBeforeDelete]]
 +
* [[Plugin/Events/User#onUserAfterDelete|onUserAfterDelete]]
 +
* [[Plugin/Events/User#onUserLogin|onUserLogin]]
 +
* [[Plugin/Events/User#onUserLoginFailure|onUserLoginFailure]]
 +
* [[Plugin/Events/User#onUserAfterLogin|onUserAfterLogin]]
 +
* [[Plugin/Events/User#onUserLogout|onUserLogout]]
 +
* [[Plugin/Events/User#onUserAuthenticate|onUserAuthenticate]]
 +
* [[Plugin/Events/User#onUserAuthorisation|onUserAuthorisation]]
 +
 
 +
<translate>=== Other Core Component Events === <!--T:2--></translate>
 +
==== Contact Component ====
 +
* [[Plugin/Events/Contact#onValidateContact|onValidateContact]]
 
* [[Plugin/Events/Contact#onSubmitContact|onSubmitContact]]
 
* [[Plugin/Events/Contact#onSubmitContact|onSubmitContact]]
* [[Plugin/Events/Contact#onValidateContact|onValidateContact]]
 
  
== XML-RPC ==
+
==== Installer Component ====
* [[Plugin/Events/System#onGetWebServices|onGetWebServices]]
+
* [[Plugin/Events/Install#onInstallerBeforeInstallation|onInstallerBeforeInstallation]]
<noinclude>[[Category:Plugin Development|Events]][[Category:Specifications]]</noinclude>
+
* [[Plugin/Events/Install#onInstallerBeforeInstaller|onInstallerBeforeInstaller]]
 +
* [[Plugin/Events/Install#onInstallerAfterInstaller|onInstallerAfterInstaller]]
 +
 
 +
<noinclude>
 +
<translate>
 +
<!--T:3-->
 +
[[Category:Plugin Development|Events]]
 +
[[Category:Specifications]]
 +
[[Category:Tutorials]]
 +
</translate>
 +
</noinclude>

Revision as of 20:06, 30 April 2015

Other languages:
Bahasa Indonesia • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎português do Brasil • ‎فارسی • ‎中文(台灣)‎
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]

Editors[edit]

Extensions[edit]

Finder[edit]

Quick Icons[edit]

System[edit]

User[edit]

Other Core Component Events[edit]

Contact Component[edit]

Installer Component[edit]