JDispatcher::trigger
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.
JDispatcher::trigger
Description
Triggers an event by dispatching arguments to all observers that handle the event and returning their return values.
public function trigger (
$event
$args=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$event | string | The event to trigger. | |
$args | array | array() | An array of arguments. |
- Returns array An array of results from each function call.
- Defined on line 86 of libraries/joomla/event/dispatcher.php
- Since
See also
JDispatcher::trigger source code on BitBucket
Class JDispatcher
Subpackage Event
- Other versions of JDispatcher::trigger