1 | <?php |
||
8 | class CacheInstructions extends \dokuwiki\Cache\CacheParser |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @param string $id page id |
||
13 | * @param string $file source file for cache |
||
14 | */ |
||
15 | public function __construct($id, $file) |
||
19 | |||
20 | /** |
||
21 | * retrieve the cached data |
||
22 | * |
||
23 | * @param bool $clean true to clean line endings, false to leave line endings alone |
||
24 | * @return array cache contents |
||
25 | */ |
||
26 | public function retrieveCache($clean = true) |
||
31 | |||
32 | /** |
||
33 | * cache $instructions |
||
34 | * |
||
35 | * @param array $instructions the instruction to be cached |
||
36 | * @return bool true on success, false otherwise |
||
37 | */ |
||
38 | public function storeCache($instructions) |
||
46 | } |
||
47 |