jacldbListener
extends jEventListener
in package
base class for event listeners.
Tags
Table of Contents
- $eventMapping : array<string|int, string>
- onAuthLogout() : mixed
- onAuthNewUser() : mixed
- Called when a user is created : set up default rights on this user.
- onAuthRemoveUser() : mixed
- Called when a user has been removed : delete rights about this user.
- performEvent() : mixed
- perform a given event.
Properties
$eventMapping
protected
array<string|int, string>
$eventMapping
= array()
mapping between event name and methods to execute keys are events, values are method name. useful when events name contains characters that are forbidden in a method name.
Tags
Methods
onAuthLogout()
public
onAuthLogout(mixed $event) : mixed
Parameters
- $event : mixed
Tags
Return values
mixed —onAuthNewUser()
Called when a user is created : set up default rights on this user.
public
onAuthNewUser(jEvent $event) : mixed
Parameters
- $event : jEvent
-
the event
Tags
Return values
mixed —onAuthRemoveUser()
Called when a user has been removed : delete rights about this user.
public
onAuthRemoveUser(jEvent $event) : mixed
Parameters
- $event : jEvent
-
the event
Tags
Return values
mixed —performEvent()
perform a given event.
public
performEvent(EventInterface $event) : mixed
Parameters
- $event : EventInterface
-
the event itself