You are here

function swftools_flowplayer3_get_info in SWF Tools 6.3

Retrieve the color scheme information for Flowplayer 3 styling.

Return value

An array of data defining color information and names for each preset style.

2 calls to swftools_flowplayer3_get_info()
swftools_flowplayer3_get_palette in flowplayer3/swftools_flowplayer3.admin.inc
Helper function to retrieve the color palette for a particular style.
swftools_flowplayer3_scheme_form in flowplayer3/swftools_flowplayer3.admin.inc
Helper function to produce the color scheme form for the flowplayer

File

flowplayer3/swftools_flowplayer3.admin.inc, line 231
Configuration settings for Flowplayer 3.

Code

function swftools_flowplayer3_get_info() {

  // Cache $info
  static $info;

  // If $info is populated, return it
  if (isset($info)) {
    return $info;
  }

  // Gather $info
  $path = drupal_get_path('module', 'swftools_flowplayer3');
  $file = $path . '/swftools_flowplayer3.colorschemes.inc';
  include $file;
  return $info;
}