You are here

public function GoogleMini::setQueryPart in Google Search Appliance 5

Same name and namespace in other branches
  1. 6.2 GoogleMini.php \GoogleMini::setQueryPart()

Helper function, just builds the array for processing, may have validation later.

Parameters

string $key:

string $value:

10 calls to GoogleMini::setQueryPart()
GoogleMini::buildQuery in ./GoogleMini.php
Fires the query to google
GoogleMini::setDateFilter in ./GoogleMini.php
Creates a date filter
GoogleMini::setDateSort in ./GoogleMini.php
Sets sorting type (date or relevancy) and direction
GoogleMini::setDomainRestriction in ./GoogleMini.php
Adds a site restriction. Useful if just querying by date, as that won't work unless you search for words or at least one other keyword search.
GoogleMini::setInputEncoding in ./GoogleMini.php
Set the encoding for data going into the search

... See full list

File

./GoogleMini.php, line 40

Class

GoogleMini

Code

public function setQueryPart($key, $value) {
  $this->_queryParts[$key] = $value;
}