JApplicationBase::registerEvent
Registers a handler to a particular event group.
Signature
public function registerEvent(string
$event,
callable
$handler )
Parameters
-
$event
- The event name.
-
$handler
- The handler, a function or an instance of a event object.
Returns
- JApplicationBase
- The application to allow chaining.