You are here

public function GoogleMini::getQueryPart in Google Search Appliance 6.2

Same name and namespace in other branches
  1. 5 GoogleMini.php \GoogleMini::getQueryPart()

Helper function, returns a pre-assigned query part.

Parameters

string $key:

Return value

the query part corresponding to $key, or false if it doesn't exist

File

./GoogleMini.php, line 49

Class

GoogleMini

Code

public function getQueryPart($key) {
  if ($this->_queryParts[$key]) {
    return $this->_queryParts[$key];
  }
  return false;
}