You are here

function GoogleMiniResultIterator::getKeyMatches in Google Search Appliance 6.2

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

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

File

./GoogleMini.php, line 387

Class

GoogleMiniResultIterator

Code

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