Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
cacheenginenone.php
1
<?php
2
namespace
Bitrix\Main\Data
;
3
4
class
CacheEngineNone
implements
CacheEngineInterface
,
CacheEngineStatInterface
5
{
6
public
function
getReadBytes
()
7
{
8
return
0;
9
}
10
11
public
function
getWrittenBytes
()
12
{
13
return
0;
14
}
15
16
public
function
getCachePath
()
17
{
18
return
""
;
19
}
20
21
public
function
isAvailable
()
22
{
23
return
true
;
24
}
25
26
public
function
clean
($baseDir, $initDir =
false
, $filename =
false
)
27
{
28
return
true
;
29
}
30
31
public
function
read
(&$vars, $baseDir, $initDir, $filename, $ttl)
32
{
33
return
false
;
34
}
35
36
public
function
write
($vars, $baseDir, $initDir, $filename, $ttl)
37
{
38
}
39
40
public
function
isCacheExpired
($path)
41
{
42
return
true
;
43
}
44
}
Bitrix\Main\Data\CacheEngineNone
Definition
cacheenginenone.php:5
Bitrix\Main\Data\CacheEngineNone\write
write($vars, $baseDir, $initDir, $filename, $ttl)
Definition
cacheenginenone.php:36
Bitrix\Main\Data\CacheEngineNone\isCacheExpired
isCacheExpired($path)
Definition
cacheenginenone.php:40
Bitrix\Main\Data\CacheEngineNone\getReadBytes
getReadBytes()
Definition
cacheenginenone.php:6
Bitrix\Main\Data\CacheEngineNone\getCachePath
getCachePath()
Definition
cacheenginenone.php:16
Bitrix\Main\Data\CacheEngineNone\read
read(&$vars, $baseDir, $initDir, $filename, $ttl)
Definition
cacheenginenone.php:31
Bitrix\Main\Data\CacheEngineNone\getWrittenBytes
getWrittenBytes()
Definition
cacheenginenone.php:11
Bitrix\Main\Data\CacheEngineNone\clean
clean($baseDir, $initDir=false, $filename=false)
Definition
cacheenginenone.php:26
Bitrix\Main\Data\CacheEngineNone\isAvailable
isAvailable()
Definition
cacheenginenone.php:21
Bitrix\Main\Data\CacheEngineInterface
Definition
cacheengineinterface.php:6
Bitrix\Main\Data\CacheEngineStatInterface
Definition
cacheenginestatinterface.php:6
Bitrix\Main\Data
Definition
aliases.php:105
modules
main
lib
data
cacheenginenone.php
Создано системой
1.10.0