You are here

function andromeda_slideshow_load in Andromeda Slideshow 7.2

Same name and namespace in other branches
  1. 7 andromeda_slideshow.module \andromeda_slideshow_load()

Loads a slideshow by its $sid

Parameters

$sid: the slideshow id

Return value

object the slideshow

2 calls to andromeda_slideshow_load()
andromeda_slideshow_disable_slideshow in includes/andromeda_slideshow.inc
Disables a slideshow
andromeda_slideshow_enable_slideshow in includes/andromeda_slideshow.inc
Enables a slideshow

File

./andromeda_slideshow.module, line 246
Slideshow for the Andromeda (http://drupal.org/project/andromeda) Theme

Code

function andromeda_slideshow_load($sid) {
  $slideshow = andromeda_slideshow_load_slideshows(array(
    $sid,
  ));
  return isset($slideshow[$sid]) ? $slideshow[$sid] : '';
}