public function GoogleMini::setMetaDataRequested in Google Search Appliance 5
Same name and namespace in other branches
- 6.2 GoogleMini.php \GoogleMini::setMetaDataRequested()
Set fields to show in results. For all fields, send an asterisk (*)
Parameters
array $fields:
File
- ./
GoogleMini.php, line 176
Class
Code
public function setMetaDataRequested($fields = null) {
if (is_array($fields)) {
$this
->setQueryPart('getfields', implode('.', $fields));
}
else {
$this
->setQueryPart('getfields', $fields);
}
}