Beispiel #1
0
 /**
  * Get identities related to the query.
  *
  * @return array
  */
 public function getIdentities()
 {
     // Extract the first search term from the search object:
     $search = $this->searchObject->getParams()->getQuery();
     $lookfor = $search instanceof Query ? $search->getString() : '';
     // Get terminology information:
     return $this->worldCatUtils->getRelatedIdentities($lookfor);
 }