event listener
More...
|
| static | handleEvent ($a_component, $a_event, $a_parameter) |
| | Handle an event in a listener. More...
|
| |
◆ __construct()
| ilOpenIdConnectAppEventListener::__construct |
( |
| ) |
|
◆ handleEvent()
| static ilOpenIdConnectAppEventListener::handleEvent |
( |
|
$a_component, |
|
|
|
$a_event, |
|
|
|
$a_parameter |
|
) |
| |
|
static |
Handle an event in a listener.
- Parameters
-
| string | $a_component | component, e.g. "Modules/Forum" or "Services/User" |
| string | $a_event | event e.g. "createUser", "updateUser", "deleteUser", ... |
| array | $a_parameter | parameter array (assoc), array("name" => ..., "phone_office" => ...) |
Definition at line 41 of file class.ilOpenIdConnectAppEventListener.php.
42 {
44 if ($a_component == 'Services/Authentication') {
46 if ($a_event == 'beforeLogout') {
48 $listener = new self();
49 $listener->handleLogoutFor($a_parameter['user_id']);
50 }
51 }
52 }
static getLogger($a_component_id)
Get component logger.
References ilLoggerFactory\getLogger().
◆ handleLogoutFor()
| ilOpenIdConnectAppEventListener::handleLogoutFor |
( |
int |
$user_id | ) |
|
|
protected |
◆ $logger
| ilOpenIdConnectAppEventListener::$logger = null |
|
private |
The documentation for this class was generated from the following file: