You are here

function _rotor_get_effects in Rotor Banner 7

Same name and namespace in other branches
  1. 5 rotor.module \_rotor_get_effects()
  2. 6.2 rotor.module \_rotor_get_effects()
  3. 6 rotor.module \_rotor_get_effects()

Return available effect for the Rotor Banner.

Return value

An associative array containing the available effect for the Rotor Banner.

1 call to _rotor_get_effects()
rotor_plugin_style_rotor::options_form in views/rotor_plugin_style_rotor.inc
Render the given style.

File

./rotor.module, line 417
A rotor banner consists in a set of images that will be changing. This module is made using jquery.

Code

function _rotor_get_effects() {
  $effects = array(
    'blindX' => t('BlindX'),
    'blindY' => t('BlindY'),
    'blindZ' => t('BlindZ'),
    'cover' => t('Cover'),
    'curtainX' => t('CurtainX'),
    'curtainY' => t('CurtainY'),
    'fade' => t('Fade'),
    'fadeZoom' => t('FadeZoom'),
    'growX' => t('GrowX'),
    'growY' => t('GrowY'),
    'scrollUp' => t('Scroll Up'),
    'scrollDown' => t('Scroll Down'),
    'scrollLeft' => t('Scroll Left'),
    'scrollRight' => t('Scroll Right'),
    'scrollHorz' => t('Scroll Horz'),
    'scrollVert' => t('Scroll Vert'),
    'shuffle' => t('Shuffle'),
    'slideX' => t('Slide X'),
    'slideY' => t('Slide Y'),
    'toss' => t('Toss'),
    'turnUp' => t('Turn Up'),
    'turnDown' => t('Turn Down'),
    'turnLeft' => t('Turn Left'),
    'turnRight' => t('Turn Right'),
    'uncover' => t('Uncover'),
    'wipe' => t('Wipe'),
    'zoom' => t('Zoom'),
    'random' => t('Random*'),
  );
  return $effects;
}