public static function RotatingBanner::getDefaultSettings in Rotating Banner 7
Same name and namespace in other branches
- 7.2 rotating_banner.classes.inc \RotatingBanner::getDefaultSettings()
2 calls to RotatingBanner::getDefaultSettings()
File
- ./
rotating_banner.classes.inc, line 166
Class
Code
public static function getDefaultSettings($key = NULL) {
//@todo: add variables here.
static $defaults = array(
'controls' => 'buttons',
'prev_next' => 0,
'width' => '',
'height' => '',
'fluid' => TRUE,
'cycle' => array(
'fx' => 'scrollDown',
'timeout' => 8000,
'fit' => 0,
),
);
if ($key) {
return $defaults[$key];
}
return $defaults;
}