You are here

public function GoogleSiteSearch::SetKey in Google Site Search 6

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

Set Google key.

Parameters

string $key The Google key.:

Return value

void

File

includes/GoogleSiteSearch.inc, line 90

Class

GoogleSiteSearch
Class for interaction with Google Site Search.

Code

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