API17:JApplication::triggerEvent
From Joomla! Documentation
JApplication::triggerEvent
Description
Calls all handlers associated with an event group.
Template:Description:JApplication::triggerEvent [Edit Descripton]
Since
Synopsis
public JApplication->triggerEvent ($event, $args=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $event | string | The event name. | |
| $args | array | null | An array of arguments. |
Returns
array An array of results from each function call.
Defined in
libraries/joomla/application/application.php
Referenced by
See also
Template:SeeAlso:JApplication::triggerEvent
Examples
<CodeExamplesForm />