JApplication::triggerEvent
From Joomla! Documentation
The "API17" 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.
JApplication::triggerEvent[edit]
Description[edit]
Calls all handlers associated with an event group.
public function 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 on line 554 of libraries/joomla/application/application.php
- Since
See also[edit]
- JApplication::triggerEvent source code on BitBucket
- Class JApplication
- Subpackage Application
- Other versions of JApplication::triggerEvent
User contributed notes[edit]
Code Examples[edit]