Jelix 1.8.13

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

Methods

onAuthCanRemoveUser()

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

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

Search results