About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:ils_drivers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
development:plugins:ils_drivers [2023/06/01 17:55] – [getStatus] emaijaladevelopment:plugins:ils_drivers [2023/09/19 16:07] – [getHolding] demiankatz
Line 262: Line 262:
 ^ Key              ^ Type               ^ Required         ^ Minimum Version  ^ Description ^ ^ Key              ^ Type               ^ Required         ^ Minimum Version  ^ Description ^
 | id               | string             | yes              |                  | the RecordID that was passed in | | id               | string             | yes              |                  | the RecordID that was passed in |
-| availability     | boolean/int        | yes              |                  | is the item available (i.e. on the shelf and/or available for checkout)? See below for further information. |+| availability     | boolean/int        | yes              | * / 9.1          | is the item available (i.e. on the shelf and/or available for checkout)? See below for further information. |
 | status           | string             | yes              |                  | description of the availability status of the item | | status           | string             | yes              |                  | description of the availability status of the item |
 | location         | string             | yes              |                  | description of the physical location of the item. Note: prior to VuFind® 1.3, some drivers HTML entity encoded this string; that is incorrect behavior in VuFind® 1.3 or later -- this should be plain text, not HTML. | | location         | string             | yes              |                  | description of the physical location of the item. Note: prior to VuFind® 1.3, some drivers HTML entity encoded this string; that is incorrect behavior in VuFind® 1.3 or later -- this should be plain text, not HTML. |
Line 277: Line 277:
 | barcode          | string             | yes              |                  | the barcode number for this item (important: even if you do not have access to real barcode numbers, you may want to include dummy values, since a missing barcode will prevent some other item information from displaying in the VuFind® interface). | | barcode          | string             | yes              |                  | the barcode number for this item (important: even if you do not have access to real barcode numbers, you may want to include dummy values, since a missing barcode will prevent some other item information from displaying in the VuFind® interface). |
 | notes            | string[]           | no               | :!: deprecated in 3.0| an array of notes associated with holdings | | notes            | string[]           | no               | :!: deprecated in 3.0| an array of notes associated with holdings |
 +| holdings_id      | string             | no                                | the ID of the holdings record containing the current item |
 | holdings_notes   | string[]           | no               | 3.0              | an array of notes associated with holdings record containing the current item | | holdings_notes   | string[]           | no               | 3.0              | an array of notes associated with holdings record containing the current item |
 | item_notes       | string[]           | no               | 3.0              | an array of notes associated with the current item | | item_notes       | string[]           | no               | 3.0              | an array of notes associated with the current item |
Line 297: Line 298:
   * false - Item is unavailable, and the ''status'' field is used for display   * false - Item is unavailable, and the ''status'' field is used for display
  
-Starting with VuFind 9.1, also the following constants from ''\VuFind\ILS\Connection'' class can be used, and the ''status'' field is always used for display: +Starting with VuFind 9.1, also the following constants from ''\VuFind\ILS\Logic\ItemStatus'' class can be used, and the ''status'' field is always used for display: 
-  * ITEM_STATUS_UNAVAILABLE - Item is unavailable +  * STATUS_UNAVAILABLE - Item is unavailable 
-  * ITEM_STATUS_AVAILABLE   - Item is available +  * STATUS_AVAILABLE   - Item is available 
-  * ITEM_STATUS_UNCERTAIN   - Item availability is uncertain (the item could be available e.g. only to a specific patron group)  +  * STATUS_UNCERTAIN   - Item availability is uncertain (the item could be available e.g. only to a specific patron group)  
  
 ==== getHoldings -- DEPRECATED ==== ==== getHoldings -- DEPRECATED ====
development/plugins/ils_drivers.txt · Last modified: 2024/06/25 13:35 by demiankatz