/** * 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()) : []; }
/** * 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()); }