JEventDispatcher::trigger
Triggers an event by dispatching arguments to all observers that handle the event and returning their return values.
Signature
public function trigger(string
$event,
array
$argsĀ )
Parameters
-
$event
- The event to trigger.
-
$args
- An array of arguments.
Returns
- array
- An array of results from each function call.