Example #1
0
 /**
  * Saves the record view to wherever the config [Statistics] says so
  *
  * @param \VuFind\Search\Base\Results  $data    Results from Search controller
  * @param Zend_Controller_Request_Http $request Request data
  *
  * @return void
  */
 public function log($data, $request)
 {
     $this->save(['recordId' => $data->getUniqueId(), 'recordSource' => $data->getResourceSource()], $request);
 }