1
|
|
|
<?php |
2
|
|
|
// phpcs:ignoreFile |
3
|
|
|
use dokuwiki\Cache\CacheParser; |
4
|
|
|
use dokuwiki\Cache\CacheInstructions; |
5
|
|
|
use dokuwiki\Cache\CacheRenderer; |
6
|
|
|
use dokuwiki\Debug\DebugHelper; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead! |
10
|
|
|
*/ |
11
|
|
|
class cache extends \dokuwiki\Cache\Cache |
12
|
|
|
{ |
13
|
|
|
|
14
|
|
|
public function __construct($key, $ext) |
15
|
|
|
{ |
16
|
|
|
DebugHelper::dbgDeprecatedFunction(dokuwiki\Cache\Cache::class); |
17
|
|
|
parent::__construct($key, $ext); |
18
|
|
|
} |
19
|
|
|
|
20
|
|
|
} |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheParser instead! |
24
|
|
|
*/ |
25
|
|
|
class cache_parser extends \dokuwiki\Cache\CacheParser |
26
|
|
|
{ |
27
|
|
|
|
28
|
|
|
public function __construct($id, $file, $mode) |
29
|
|
|
{ |
30
|
|
|
DebugHelper::dbgDeprecatedFunction(CacheParser::class); |
31
|
|
|
parent::__construct($id, $file, $mode); |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
} |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheRenderer instead! |
38
|
|
|
*/ |
39
|
|
|
class cache_renderer extends \dokuwiki\Cache\CacheRenderer |
40
|
|
|
{ |
41
|
|
|
|
42
|
|
|
public function __construct($id, $file, $mode) |
43
|
|
|
{ |
44
|
|
|
DebugHelper::dbgDeprecatedFunction(CacheRenderer::class); |
45
|
|
|
parent::__construct($id, $file, $mode); |
46
|
|
|
} |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheInstructions instead! |
51
|
|
|
*/ |
52
|
|
|
class cache_instructions extends \dokuwiki\Cache\CacheInstructions |
53
|
|
|
{ |
54
|
|
|
public function __construct($id, $file) |
55
|
|
|
{ |
56
|
|
|
DebugHelper::dbgDeprecatedFunction(CacheInstructions::class); |
57
|
|
|
parent::__construct($id, $file); |
58
|
|
|
} |
59
|
|
|
} |
60
|
|
|
|