Plugin/Events/Editor: Difference between revisions
From Joomla! Documentation
Masterchief (talk | contribs) mNo edit summary |
m Wilsonge moved page Plugin/Events/Editor to J1.5:Plugin/Events/Editor without leaving a redirect |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
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 7: | 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. | ||
== | ==onCustomEditorButton== | ||
== | ===Description=== | ||
== | ===Parameters=== | ||
== | ===Return Value=== | ||
== | ===Used in files=== | ||
== | ==onInit== | ||
== | ===Description=== | ||
== | ===Parameters=== | ||
== | ===Return Value=== | ||
== | ===Used in files=== | ||
== | ==onDisplay== | ||
== | ===Description=== | ||
== | ===Parameters=== | ||
== | ===Return Value=== | ||
== | ===Used in files=== | ||
== | ==onGetContent== | ||
== | ===Description=== | ||
== | ===Parameters=== | ||
== | ===Return Value=== | ||
== | ===Used in files=== | ||
== | ==onSetContent== | ||
== | ===Description=== | ||
== | ===Parameters=== | ||
== | ===Return Value=== | ||
== | ===Used in files=== | ||
== | ==onSave== | ||
== | ===Description=== | ||
Is called previously to submitting the form of an editor. | |||
=== | ===Parameters=== | ||
== | ===Return Value=== | ||
== | Must return a javascript text. | ||
== | |||
== | ===Used in files=== | ||
==onGetInsertMethod== | |||
===Description=== | |||
===Parameters=== | |||
===Return Value=== | |||
===Used in files=== | |||
<noinclude>[[Category:Plugin Development]][[Category:Specifications]]</noinclude> | |||
Latest revision as of 13:43, 27 August 2013
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
Description
Parameters
Return Value
Used in files
onInit
Description
Parameters
Return Value
Used in files
onDisplay
Description
Parameters
Return Value
Used in files
onGetContent
Description
Parameters
Return Value
Used in files
onSetContent
Description
Parameters
Return Value
Used in files
onSave
Description
Is called previously to submitting the form of an editor.
Parameters
Return Value
Must return a javascript text.