J1.5

Difference between revisions of "Plugin/Events/Editor"

From Joomla! Documentation

< J1.5:Plugin/Events
(Importing text file)
 
m (moved Plugin events/Editor to Plugin/Events/Editor: Reogarnizacao of contents)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
====5.4 Editor Events for Plugin System====
 
===5.4.1 Overview===
 
 
There are two kinds of editor-related events in Joomla! 1.5. The first is similar to  
 
There are two kinds of editor-related events in Joomla! 1.5. The first is similar to  
 
other events in Joomla! 1.0 where a set of plugin functions can be called as a  
 
other events in Joomla! 1.0 where a set of plugin functions can be called as a  
Line 6: Line 4:
 
where the event causes invocation of methods in objects derived from the [[references:joomla.framework:application:jplugin|JPlugin]] class.
 
where the event causes invocation of methods in objects derived from the [[references:joomla.framework:application:jplugin|JPlugin]] class.
  
===5.4.2 onCustomEditorButton===
+
==onCustomEditorButton==
==5.4.2.1 Description==
+
===Description===
==5.4.2.2 Parameters==
+
===Parameters===
==5.4.2.3 Return Value==
+
===Return Value===
==5.4.2.4 Used in files==
+
===Used in files===
  
===5.4.3 onInit===
+
==onInit==
==5.4.3.1 Description==
+
===Description===
==5.4.3.2 Parameters==
+
===Parameters===
==5.4.3.3 Return Value==
+
===Return Value===
==5.4.3.4 Used in files==
+
===Used in files===
  
===5.4.4 onDisplay===
+
==onDisplay==
==5.4.4.1 Description==
+
===Description===
==5.4.4.2 Parameters==
+
===Parameters===
==5.4.4.3 Return Value==
+
===Return Value===
==5.4.4.4 Used in files==
+
===Used in files===
  
===5.4.5 onGetContent===
+
==onGetContent==
==5.4.5.1 Description==
+
===Description===
==5.4.5.2 Parameters==
+
===Parameters===
==5.4.5.3 Return Value==
+
===Return Value===
==5.4.5.4 Used in files==
+
===Used in files===
  
===5.4.6 onSetContent===
+
==onSetContent==
==5.4.6.1 Description==
+
===Description===
==5.4.6.2 Parameters==
+
===Parameters===
==5.4.6.3 Return Value==
+
===Return Value===
==5.4.6.4 Used in files==
+
===Used in files===
  
===5.4.7 onSave===
+
==onSave==
==5.4.7.1 Description==
+
===Description===
==5.4.7.2 Parameters==
+
Is called previously to submitting the form of an editor.
==5.4.7.3 Return Value==
 
==5.4.7.4 Used in files==
 
  
===5.4.8 onGetInsertMethod===
+
===Parameters===
==5.4.8.1 Description==
+
===Return Value===
==5.4.8.2 Parameters==
+
Must return a javascript text.
==5.4.8.3 Return Value==
+
 
==5.4.8.4 Used in files==
+
===Used in files===
 +
 
 +
==onGetInsertMethod==
 +
===Description===
 +
===Parameters===
 +
===Return Value===
 +
===Used in files===
 +
<noinclude>[[Category:Plugin Development]][[Category:Specifications]]</noinclude>

Revision as of 04:32, 2 September 2011

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

There are two kinds of editor-related events in Joomla! 1.5. The first is similar to other events in Joomla! 1.0 where a set of plugin functions can be called as a result of the event triggering. The second kind is somewhat more object orientated, where the event causes invocation of methods in objects derived from the JPlugin class.

onCustomEditorButton[edit]

Description[edit]

Parameters[edit]

Return Value[edit]

Used in files[edit]

onInit[edit]

Description[edit]

Parameters[edit]

Return Value[edit]

Used in files[edit]

onDisplay[edit]

Description[edit]

Parameters[edit]

Return Value[edit]

Used in files[edit]

onGetContent[edit]

Description[edit]

Parameters[edit]

Return Value[edit]

Used in files[edit]

onSetContent[edit]

Description[edit]

Parameters[edit]

Return Value[edit]

Used in files[edit]

onSave[edit]

Description[edit]

Is called previously to submitting the form of an editor.

Parameters[edit]

Return Value[edit]

Must return a javascript text.

Used in files[edit]

onGetInsertMethod[edit]

Description[edit]

Parameters[edit]

Return Value[edit]

Used in files[edit]