Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
nullsessionhandler.php
1
<?php
2
3
namespace
Bitrix\Main\Session\Handlers
;
4
5
6
class
NullSessionHandler
extends
AbstractSessionHandler
7
{
8
public
function
gc
($maxLifeTime): int
9
{
10
return
0;
11
}
12
13
public
function
open
($savePath, $sessionName): bool
14
{
15
return
true
;
16
}
17
18
public
function
updateTimestamp
(
$sessionId
, $sessionData): bool
19
{
20
return
true
;
21
}
22
23
protected
function
processRead
(
$sessionId
): string
24
{
25
return
''
;
26
}
27
28
protected
function
processWrite
(
$sessionId
, $sessionData): bool
29
{
30
return
true
;
31
}
32
33
protected
function
lock
(
$sessionId
): bool
34
{
35
return
true
;
36
}
37
38
protected
function
unlock
(
$sessionId
): bool
39
{
40
return
true
;
41
}
42
43
protected
function
processDestroy
(
$sessionId
): bool
44
{
45
return
true
;
46
}
47
}
Bitrix\Main\Session\Handlers\AbstractSessionHandler
Definition
abstractsessionhandler.php:11
Bitrix\Main\Session\Handlers\AbstractSessionHandler\$sessionId
$sessionId
Definition
abstractsessionhandler.php:17
Bitrix\Main\Session\Handlers\NullSessionHandler
Definition
nullsessionhandler.php:7
Bitrix\Main\Session\Handlers\NullSessionHandler\processWrite
processWrite($sessionId, $sessionData)
Definition
nullsessionhandler.php:28
Bitrix\Main\Session\Handlers\NullSessionHandler\lock
lock($sessionId)
Definition
nullsessionhandler.php:33
Bitrix\Main\Session\Handlers\NullSessionHandler\updateTimestamp
updateTimestamp($sessionId, $sessionData)
Definition
nullsessionhandler.php:18
Bitrix\Main\Session\Handlers\NullSessionHandler\processRead
processRead($sessionId)
Definition
nullsessionhandler.php:23
Bitrix\Main\Session\Handlers\NullSessionHandler\processDestroy
processDestroy($sessionId)
Definition
nullsessionhandler.php:43
Bitrix\Main\Session\Handlers\NullSessionHandler\unlock
unlock($sessionId)
Definition
nullsessionhandler.php:38
Bitrix\Main\Session\Handlers\NullSessionHandler\open
open($savePath, $sessionName)
Definition
nullsessionhandler.php:13
Bitrix\Main\Session\Handlers\NullSessionHandler\gc
gc($maxLifeTime)
Definition
nullsessionhandler.php:8
Bitrix\Main\Session\Handlers
Definition
abstractsessionhandler.php:3
modules
main
lib
session
handlers
nullsessionhandler.php
Создано системой
1.10.0