You are here

function ChartsGraphsFlashCanvas::get_wmode in Charts and Graphs 6.2

Same name and namespace in other branches
  1. 7 charts_graphs_flash_canvas.class.inc \ChartsGraphsFlashCanvas::get_wmode()
2 calls to ChartsGraphsFlashCanvas::get_wmode()
ChartsGraphsAmcharts::get_chart in apis/charts_graphs_amcharts/charts_graphs_amcharts.class.inc
Function that renders data.
ChartsGraphsOpenFlash::get_chart in apis/charts_graphs_open_flash/charts_graphs_open_flash.class.inc
Function that renders data.

File

./charts_graphs_flash_canvas.class.inc, line 19
abstract class ChartsGraphsFlashCanvas.

Class

ChartsGraphsFlashCanvas
Abstract class to be derived for Flash based charting libraries.

Code

function get_wmode() {
  $wmodes = self::wmode_values();
  $default = 'window';
  $wmode = strtolower(empty($this->wmode) ? $default : $this->wmode);
  return isset($wmodes[$wmode]) ? $wmode : $default;
}