[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

CacheImageMod:: (3 methods):
  __construct()
  makeDefaultCacheDecision()
  addDependencies()


Class: CacheImageMod  - X-Ref

Handle the caching of modified (resized/cropped) images

__construct($file, $w, $h, $ext, $crop)   X-Ref

param: string $file Original source file
param: int $w new width in pixel
param: int $h new height in pixel
param: string $ext Image extension - no leading dot
param: bool $crop Is this a crop?

makeDefaultCacheDecision()   X-Ref
No description

addDependencies()   X-Ref
Caching depends on the source and the wiki config