Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F15611738
Logout.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
449 B
Referenced Files
None
Subscribers
None
Logout.php
View Options
<?php
namespace
Zed\Engines\Perso\Events
;
class
Logout
extends
BaseEvent
{
public
function
isTriggered
()
:
bool
{
return
array_key_exists
(
'action'
,
$_GET
)
&&
$_GET
[
'action'
]
==
'perso.logout'
&&
$this
->
selector
->
perso
!==
null
;
}
public
function
handle
()
:
void
{
// User wants to change perso
$this
->
selector
->
perso
->
on_logout
();
$this
->
selector
->
hasPerso
=
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Nov 25, 19:26 (8 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23676
Default Alt Text
Logout.php (449 B)
Attached To
Mode
rZED Zed
Attached
Detach File
Event Timeline
Log In to Comment