[ Index ]

PHP Cross Reference of DokuWiki




/inc/Cache/ -> CacheInstructions.php (summary)

(no description)

File Size: 45 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CacheInstructions:: (3 methods):

Class: CacheInstructions  - X-Ref

Caching of parser instructions

__construct($id, $file)   X-Ref

param: string $id page id
param: string $file source file for cache

retrieveCache($clean = true)   X-Ref
retrieve the cached data

param: bool $clean true to clean line endings, false to leave line endings alone
return: array          cache contents

storeCache($instructions)   X-Ref
cache $instructions

param: array $instructions the instruction to be cached
return: bool                  true on success, false otherwise