You are here

public function GoogleSiteSearch::__construct in Google Site Search 6

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

Create a new instance of GoogleSiteSearch.

Parameters

string:

File

includes/GoogleSiteSearch.inc, line 77

Class

GoogleSiteSearch
Class for interaction with Google Site Search.

Code

public function __construct($query, $key = NULL, $pageSize = 20, $extraParams = NULL) {
  $this->query = $query;
  $this->key = $key;
  $this->pageSize = $pageSize;
  $this->extraParams = $extraParams;
}