コード例 #1
0
ファイル: SolrMarc.php プロジェクト: bbeckman/NDL-VuFind2
 /**
  * Get an array of information about record holdings, obtained in real-time
  * from the ILS.
  *
  * @return array
  */
 public function getRealTimeHoldings()
 {
     return $this->hasILS() ? $this->holdLogic->getHoldings($this->getUniqueID(), $this->getConsortialIDs()) : [];
 }
コード例 #2
0
ファイル: Holds.php プロジェクト: bbeckman/NDL-VuFind2
 /**
  * Get Hold Form
  *
  * Supplies holdLogic with the form details required to place a request
  *
  * @param array  $details  An array of item data
  * @param array  $HMACKeys An array of keys to hash
  * @param string $action   The action for which the details are built
  *
  * @return array             Details for generating URL
  */
 protected function getRequestDetails($details, $HMACKeys, $action)
 {
     $details['requestType'] = $action;
     return parent::getRequestDetails($details, $HMACKeys, $action);
 }
コード例 #3
0
ファイル: FlatHolds.php プロジェクト: paulusova/VuFind-2.x
 /**
  * Constructor
  *
  * @param \VuFind\Auth\Manager $account Auth manager object
  * @param ILSConnection        $ils     A catalog connection
  * @param \VuFind\Crypt\HMAC   $hmac    HMAC generator
  * @param \Zend\Config\Config  $config  VuFind configuration
  */
 public function __construct(\VuFind\Auth\ILSAuthenticator $ilsAuth, ILSConnection $ils, \VuFind\Crypt\HMAC $hmac, \Zend\Config\Config $config)
 {
     parent::__construct($ilsAuth, $ils, $hmac, $config);
 }
コード例 #4
0
ファイル: Holds.php プロジェクト: paulusova/VuFind-2.x
 /**
  * Constructor
  *
  * @param \VuFind\Auth\Manager $account Auth manager object
  * @param ILSConnection        $ils     A catalog connection
  * @param \VuFind\Crypt\HMAC   $hmac    HMAC generator
  * @param \Zend\Config\Config  $config  VuFind configuration
  */
 public function __construct(\VuFind\Auth\Manager $account, ILSConnection $ils, \VuFind\Crypt\HMAC $hmac, \Zend\Config\Config $config)
 {
     parent::__construct($account, $ils, $hmac, $config);
 }
コード例 #5
0
ファイル: SolrMarc.php プロジェクト: no-reply/cbpl-vufind
 /**
  * Get an array of information about record holdings, obtained in real-time
  * from the ILS.
  *
  * @param \VuFind\Auth\Manager $account Auth manager object
  *
  * @return array
  */
 public function getRealTimeHoldings(\VuFind\Auth\Manager $account)
 {
     $holdLogic = new HoldLogic($account, $this->getILS());
     return $holdLogic->getHoldings($this->getUniqueID());
 }