[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/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):
  __construct()
  retrieveCache()
  storeCache()


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

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

storeCache($instructions)   X-Ref
cache $instructions

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