Example #1
0
 /**
  * DAIA specific override of method to ensure uniform cache keys for cached
  * VuFind objects.
  *
  * @param string|null $suffix Optional suffix that will get appended to the
  * object class name calling getCacheKey()
  *
  * @return string
  */
 protected function getCacheKey($suffix = null)
 {
     return parent::getCacheKey(md5($this->baseURL) . $suffix);
 }
Example #2
0
 /**
  * Test that driver complains about missing configuration.
  *
  * @return void
  */
 public function testMissingConfiguration()
 {
     $this->setExpectedException('VuFind\\Exception\\ILS');
     $this->driver->init();
 }
Example #3
0
 /**
  * PAIA specific override of method to ensure uniform cache keys for cached
  * VuFind objects.
  *
  * @param string|null $suffix Optional suffix that will get appended to the
  * object class name calling getCacheKey()
  *
  * @return string
  */
 protected function getCacheKey($suffix = null)
 {
     return \VuFind\ILS\Driver\AbstractBase::getCacheKey(md5($this->baseUrl . $this->paiaURL) . $suffix);
 }