lizmapLogListener
extends jEventListener
in package
Log lizmap actions.
Tags
Table of Contents
Methods
- addLog() : mixed
- Add log when needed.
- onAuthCanLogin() : mixed
- When a user logs in.
- onLizLogItem() : mixed
- Event emitted by lizmap controllers.
- sendEmail() : mixed
- Send an email to the administrator.
Methods
addLog()
Add log when needed.
public
addLog(string $key, array<string|int, mixed> $data) : mixed
Parameters
- $key : string
-
key of the log item to handle
- $data : array<string|int, mixed>
-
array of data to log for this item
onAuthCanLogin()
When a user logs in.
public
onAuthCanLogin(mixed $event) : mixed
Parameters
- $event : mixed
onLizLogItem()
Event emitted by lizmap controllers.
public
onLizLogItem(mixed $event) : mixed
Parameters
- $event : mixed
sendEmail()
Send an email to the administrator.
private
sendEmail(mixed $key, mixed $data) : mixed
Parameters
- $key : mixed
- $data : mixed