You are here

public function GoogleSiteSearch::setKey in Google Site Search 7

Same name and namespace in other branches
  1. 6 includes/GoogleSiteSearch.inc \GoogleSiteSearch::SetKey()

Set Google key.

Parameters

string $key: The Google key.

File

includes/GoogleSiteSearch.inc, line 139
GSS module site search inc file.

Class

GoogleSiteSearch
Class for interaction with Google Site Search.

Code

public function setKey($key) {
  $this->key = $key;
}