API17:JCli::triggerEvent
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JCli::triggerEvent
Description
Calls all handlers associated with an event group.
Description:JCli::triggerEvent [Edit Descripton]
Since
Synopsis
public JCli::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/cli.php (line 205)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
