Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
cacheenginenone.php
1<?php
2namespace Bitrix\Main\Data;
3
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}
write($vars, $baseDir, $initDir, $filename, $ttl)
read(&$vars, $baseDir, $initDir, $filename, $ttl)
clean($baseDir, $initDir=false, $filename=false)