function rotor_get_imagecache_presets in Rotor Banner 7
Same name and namespace in other branches
- 5 rotor.module \rotor_get_imagecache_presets()
 - 6.2 rotor.module \rotor_get_imagecache_presets()
 - 6 rotor.module \rotor_get_imagecache_presets()
 
3 calls to rotor_get_imagecache_presets()
- rotor_plugin_row_rotor::options_form in views/
rotor_plugin_row_rotor.inc  - Render the given style.
 - theme_rotor_image in ./
rotor.module  - This is a theme function to act as a wrapper for the image either case that we are using imagecache or not.
 - views_field_handler_rotor_image::options_form in views/
views_field_handler_rotor_image.inc  - Default options form provides the label widget that all fields should have.
 
File
- ./
rotor.module, line 385  - A rotor banner consists in a set of images that will be changing. This module is made using jquery.
 
Code
function rotor_get_imagecache_presets($reset = FALSE) {
  $presets_full = imagecache_presets($reset);
  $presets = array();
  foreach ($presets_full as $preset_id => $preset) {
    $presets[$preset_id] = $preset['presetname'];
  }
  return $presets;
}