You are here

public function GoogleMini::getQueryPart in Google Search Appliance 5

Same name and namespace in other branches
  1. 6.2 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 50

Class

GoogleMini

Code

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