You are here

function facebook_album_get_settings in Facebook Album 7.2

Same name and namespace in other branches
  1. 7.3 facebook_album.module \facebook_album_get_settings()
  2. 7 facebook_album.module \facebook_album_get_settings()

Takes all customized settings and returns them as an array

Return value

array Settings as specified from the settings menu in facebook_album.admin.inc

4 calls to facebook_album_get_settings()
facebook_album_ajax_get_albums_next in ./facebook_album.module
Fetch the next or previous set of cover photos from the specified page ID
facebook_album_ajax_get_album_cover in ./facebook_album.module
Fetch an individual album cover
facebook_album_ajax_get_album_next in ./facebook_album.module
Fetch the next or previous set of photos from the specified album
facebook_album_ajax_get_photo_url in ./facebook_album.module
Fetch an individual photo url from a Facebook album photo

File

./facebook_album.module, line 415

Code

function facebook_album_get_settings() {
  return array(
    'pageID' => variable_get('facebook_album_pageID', 'acromediainc'),
    'visibility' => variable_get('facebook_album_visibility', 0),
    'albums' => variable_get('facebook_album_albums', array()),
    'albumLimit' => variable_get('facebook_album_albumLimit', 3),
    'showDescription' => variable_get('facebook_album_showDescription', 1),
    'showLocation' => variable_get('facebook_album_showLocation', 1),
    'albumThumbWidth' => variable_get('facebook_album_albumThumbWidth', 365),
    'albumThumbHeight' => variable_get('facebook_album_albumThumbHeight', 250),
    'photoThumbWidth' => variable_get('facebook_album_photoThumbWidth', 160),
    'photoThumbHeight' => variable_get('facebook_album_photoThumbHeight', 120),
    'appToken' => variable_get('facebook_album_access_token', ''),
    'albumVisibility' => variable_get('facebook_album_visibility'),
  );
}