Jelix 1.7.18

jacl2dbListener extends jEventListener
in package

base class for event listeners.

Tags
subpackage

jacl2db

since
1.1

Table of Contents

$eventMapping  : array<string|int, string>
onAuthCanRemoveUser()  : mixed
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
since
1.7.0

Methods

onAuthCanRemoveUser()

public onAuthCanRemoveUser(mixed $event) : mixed
Parameters
$event : mixed
Return values
mixed

onAuthLogout()

public onAuthLogout(mixed $event) : mixed
Parameters
$event : mixed
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

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

Return values
mixed

performEvent()

perform a given event.

public performEvent(jEvent $event) : mixed
Parameters
$event : jEvent

the event itself

Return values
mixed

Search results