/** * Returns a summary of the holdings information for a single id. Used to display * within the search results and at the top of a full record display to ensure * the holding information makes sense to all users. * * @param string $id the id of the bid to load holdings for * @param boolean $forSearch whether or not the summary will be shown in search results * @return array an associative array with a summary of the holdings. */ public function getStatusSummary($id, $forSearch = false) { //Load circulation status information so we can use it later on to //determine what is holdable and what is not. self::loadCircStatusInfo(); self::loadLoanRules(); require_once ROOT_DIR . '/Drivers/marmot_inc/MillenniumStatusLoader.php'; $millenniumStatusLoader = new MillenniumStatusLoader($this); return $millenniumStatusLoader->getStatusSummary($id, $forSearch); }