You are here

protected function ChartsGraphsGoogleCharts::_get_query in Charts and Graphs 6.2

Same name and namespace in other branches
  1. 7 apis/charts_graphs_google_charts/charts_graphs_google_charts.class.inc \ChartsGraphsGoogleCharts::_get_query()
1 call to ChartsGraphsGoogleCharts::_get_query()
ChartsGraphsGoogleCharts::_get_url in apis/charts_graphs_google_charts/charts_graphs_google_charts.class.inc

File

apis/charts_graphs_google_charts/charts_graphs_google_charts.class.inc, line 342
Implementation of abstract class ChartsGraphsCanvas for Google Charts library.

Class

ChartsGraphsGoogleCharts
Implementation of abstract class ChartsGraphsCanvas for Google Charts library.

Code

protected function _get_query() {
  $query = '';
  foreach ($this->parameters_to_send as $key => $value) {
    $query .= '&' . $key . '=' . $value;
  }
  if (strlen($query)) {
    $query = substr($query, 1);
  }
  return $query;
}