Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F1145547
Logout.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
449 B
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
Tue, Aug 5, 04:25 (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23676
Default Alt Text
Logout.php (449 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment