JDispatcher::register
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::register[edit]
Description[edit]
Registers an event handler to the event dispatcher.
public function register (
$event
$handler
)
Parameter | Type | Default | Description |
---|---|---|---|
$event | string | Name of the event to register handler for | |
$handler | string | Name of the event handler |
See also[edit]
JDispatcher::register source code on BitBucket
Class JDispatcher
Subpackage Event
- Other versions of JDispatcher::register
User contributed notes[edit]
Code Examples[edit]