public function GoogleMini::setKeywords in Google Search Appliance 5
Same name and namespace in other branches
- 6.2 GoogleMini.php \GoogleMini::setKeywords()
Set the keywords used for keyword search
Parameters
string $keys:
File
- ./
GoogleMini.php, line 163
Class
Code
public function setKeywords($keys) {
if ($this->_queryParts['q']) {
$this->_queryParts['q'] .= "%20" . urlencode($keys);
}
else {
$this
->setQueryPart('q', urlencode($keys));
}
}