You are here

function imagerotator_swftools_methods in SWF Tools 6.2

Same name and namespace in other branches
  1. 6 imagerotator/imagerotator.module \imagerotator_swftools_methods()

Implementation of swftools_methods hook Report methods back to SWF Tools

File

imagerotator/imagerotator.module, line 20

Code

function imagerotator_swftools_methods() {
  $methods = array();

  // And with rotator
  $image_rotator = array(
    'name' => WIJERING_IMAGEROTATOR,
    'module' => 'imagerotator',
    'file' => 'file',
    // Define which flashvar to assign a 'file to play' variable.
    'version' => '7',
    'shared_file' => 'flash_image_rotator/imagerotator.swf',
    'title' => t('JW Image Rotator 3'),
    'download' => IMAGEROTATOR_DOWNLOAD,
    'width' => '400',
    'height' => '320',
  );
  $methods[SWFTOOLS_IMAGE_DISPLAY_LIST][WIJERING_IMAGEROTATOR] = $image_rotator;
  return $methods;
}