You are here

function flowplayer3_get_info in SWF Tools 6.2

Retrieve the color scheme information for FlowPlayer3 styling.

Return value

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

2 calls to flowplayer3_get_info()
flowplayer3_get_palette in flowplayer3/flowplayer3.admin.inc
Helper function to retrieve the color palette for a particular style.
flowplayer3_scheme_form in flowplayer3/flowplayer3.admin.inc
Helper function to produce the color scheme form for the flowplayer

File

flowplayer3/flowplayer3.admin.inc, line 426

Code

function 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', 'flowplayer3');
  $file = $path . '/flowplayer3.colorschemes.inc';
  include $file;
  return $info;
}