Function:
get_bib_item ($bnum, $get_inactive = FALSE)
Purpose:
get_bib_item() takes a bib number and returns bib-level information about that record.
Arguments:
$bnum : (string) required Item bib number
$get_bib_item : (boolean) optional Return the record, even if it's marked inactive
Returns:
Array of bib-level information
(
[bnum] => (int) Bibliographic record number
[author] => (string) Author
[addl_author] => (string - serialized) Additional Authors
[title] => (string) Title, by itself
[title_medium] => (string) Media information (ie "Sound Recording")
[edition] => (string) Edition information
[series] => (string) Series title/information
[callnum] => (string) Bib-level call number
[pub_info] => (string) Publisher information
[pub_year] => (int) Year of publication - YYYY
[stdnum] => (string) Standard number - usually ISBN
[upc] => (string) UPC symbol code
[lccn] => (string) LC number
[descr] => (string) Physical description
[notes] => (string - serialized) Notes fields
[subjects] => (string - serialized) Subject headings
[lang] => (string) Language code
[loc_code] => (string) Bib-level location code (ie branch code)
[mat_code] => (string) Material type code
[cover_img] => (string) Cover image URL (or CACHE if using covercache module)
[download_link] => (string) URL for downloadable content
[modified] => (timestamp) Last modified datetime: YYYY-MM-DD HH:MM:SS
[bib_created] => (datestamp) Bib creation date: YYYY-MM-DD
[bib_lastupdate] => (datestamp) Last update date: YYYY-MM-DD
[bib_prevupdate] => (datestamp) Second-to-last update date: YYYY-MM-DD
[bib_revs] => (int) Total number of record revisions
[active] => (int) 0 = record is inactive/suppressed, 1 = record is active
)