function _ddblock_get_effects in Dynamic display block 7
Same name and namespace in other branches
- 6 ddblock.module \_ddblock_get_effects()
Return available effect for the dynamic display block.
Return value
An associative array containing the available effect for the dynamic display block.
2 calls to _ddblock_get_effects()
- ddblock_block_configure_form in ./
ddblock.module - Block configuration page of dynamic display block blocks added to standard block configuration page.
- ddblock_form_alter in ./
ddblock.module - Implements hook_form_alter().
File
- ./
ddblock.module, line 2200 - Enables your site to display dynamic content in a block.
Code
function _ddblock_get_effects() {
// effects.
$_fx = array(
'none' => t('none'),
'all' => t('all'),
'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('scrollUp'),
'scrollDown' => t('scrollDown'),
'scrollLeft' => t('scrollLeft'),
'scrollRight' => t('scrollRight'),
'scrollHorz' => t('scrollHorz'),
'scrollVert' => t('scrollVert'),
'shuffle' => t('shuffle'),
'slideX' => t('slideX'),
'slideY' => t('slideY'),
'toss' => t('toss'),
'turnUp' => t('turnUp'),
'turnDown' => t('turnDown'),
'turnLeft' => t('turnLeft'),
'turnRight' => t('turnRight'),
'uncover' => t('uncover'),
'wipe' => t('wipe'),
'zoom' => t('zoom'),
);
return $_fx;
}