Plugin/Events/Module
From Joomla! Documentation
< Plugin | Events
In a standard installation of Joomla! we have several predefined Module events which, when triggered, call functions in the associated plugins.
onRenderModule[edit]
Description[edit]
This is an event that is called when a module on the front- or back-end is rendered.
Parameters[edit]
&module
A reference to a Module object that holds all the data of the module&attribs
An array of attributes for the module
Return Value[edit]
None. Result will be omitted.
onAfterRenderModule[edit]
Description[edit]
This is an event that is called when after a module is rendered on the back- or front-end
Parameters[edit]
&module
A reference to a Module object that holds all the data of the module&attribs
An array of attributes for the module
Return Value[edit]
None. Result will be omitted.
onAfterRenderModules[edit]
Description[edit]
This is an event that is called when after all modules are rendered on the back- or front-end for a given module position. Introduced in
Parameters[edit]
&buffer
A reference to the output html of the modules being rendered
¶ms
An array of parameters for the module renderer
Return Value[edit]
None. Result will be omitted.
onPrepareModuleList[edit]
Description[edit]
This is an event that is called before the list of modules that must be rendered is created. If the &modules
parameter is an array of module objects, the default module list generated by Joomla! is ignored.
Parameters[edit]
&modules
Reference to a empty variable for the list of modules
Return Value[edit]
None. Result will be omitted.
onAfterModuleList[edit]
Description[edit]
This is an event that is called after the list of modules that must be rendered is created.
Parameters[edit]
&modules
Reference to an array of module objects
Return Value[edit]
None. Result will be omitted.
onAfterCleanModuleList[edit]
Description[edit]
This is an event that is called after the module list is cleaned.
Parameters[edit]
&modules
A reference to an array of rendered module objects
Return Value[edit]
None. Result will be omitted.