[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/imagecache/ -> imagecache.api.php (summary)

(no description)

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

Defines 4 functions

  hook_imagecache_actions()
  hook_imagecache_default_presets()
  hook_imagecache_image_flush()
  hook_imagecache_preset_flush()

Functions
Functions that are not part of a class:

hook_imagecache_actions()   X-Ref
Inform ImageCache about actions that can be performed on an image.

return: array

hook_imagecache_default_presets()   X-Ref
Provides default ImageCache presets that can be overridden by site
administrators.

return: array

hook_imagecache_image_flush($derivative_path, $preset, $original_path)   X-Ref
Allows other modules to perform actions on an image before it is flushed.

This hook can be used to send purge requests to a reverse proxy or delete
a file from a remote file server or CDN when the imagecached version is
flushed.

Implementations of hook_imagecache_image_flush should not delete the image
at $filepath, as ImageCache will perform this action.

param: $derivative_path
param: $preset
param: $original_path

hook_imagecache_preset_flush($presetdir, $preset)   X-Ref
Allows other modules to perform actions when a preset is about to be flushed.

This hook can be used to send purge requests to a reverse proxy or delete
files from a remote file server or CDN when the imagecached versions are
flushed.

Implementations of hook_imagecache_preset_flush should not delete the
images in $presetdir, as ImageCache will perform this action.

param: $presetdir
param: $preset



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7