You are here

function GoogleMiniResultIterator::getKeyMatches in Google Search Appliance 5

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

Returns an array of keymatches keyed with: [link] => [title]

File

./GoogleMini.php, line 362

Class

GoogleMiniResultIterator

Code

function getKeyMatches() {
  $output = array();
  if ($this->GM) {
    foreach ($this->GM as $match) {
      $output[(string) $match->GL] = (string) $match->GD;
    }
  }
  return $output;
}