示例#1
0
 /**
  * Does the OpenURL configuration indicate that we should display OpenURLs in
  * the specified context?
  *
  * @param string $area 'results', 'record' or 'holdings'
  *
  * @return bool
  */
 public function openURLActive($area)
 {
     // Only display OpenURL link if the option is turned on and we have
     // an ISSN.  We may eventually want to make this rule more flexible.
     if (!$this->getCleanISSN()) {
         return false;
     }
     return parent::openURLActive($area);
 }