API17:JCli::registerEvent
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::registerEvent
Description
Registers a handler to a particular event group.
Description:JCli::registerEvent [Edit Descripton]
Since
Synopsis
public JCli::registerEvent ($event, $handler)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $event | string | The event name. | |
| $handler | callback | The handler, a function or an instance of a event object. |
Returns
void
Defined in
libraries/joomla/application/cli.php (line 190)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
