You are here

function google_cse_build_query in Google Custom Search Engine 7.3

Same name and namespace in other branches
  1. 7 google_cse.module \google_cse_build_query()
  2. 7.2 google_cse.module \google_cse_build_query()

Builds a query array based on Google CSE settings.

File

./google_cse.module, line 113
Display a Google Custom Search Engine (CSE) on your site.

Code

function google_cse_build_query($keys, $sitesearch = NULL, $here = TRUE) {
  return array(
    'q' => $keys,
    'cx' => variable_get('google_cse_cx', ''),
  );
}