![]() |
Grima
2018-08
Whispering into Alma's ear
|
Public Member Functions | |
| offsetSet ($offset, $value) | |
| offsetGet ($offset) | |
| loadFromAlma ($mms_id, $holding_id) | |
| populates the record from Alma More... |
|
| getMmsIfNeeded () | |
| populates the MMS ID if not already known More... |
|
| loadFromAlmaX ($holding_id) | |
| populates the record from Alma - only requires holding_id More... |
|
| addToAlmaBib ($mms_id) | |
| adds a new holding record to the specified bib More... |
|
| hasItems () | |
| checks whether a holding record has any items More... |
|
| updateAlma () | |
| update holding record in Alma More... |
|
| deleteFromAlma () | |
| delete the holding record from Alma More... |
|
| setCallNumberFromBib () | |
| setCallNumber ($h, $i, $ind1) | |
| moveToBib ($mms_id) | |
| moves the holding from one bib to another – only for empty holdings! More... |
|
| getItems () | |
| populate items property with Items objects ## XXX TEST More... |
|
| getItemList () | |
| populates itemList property from Alma More... |
|
| deleteTreeFromAlma () | |
| delete the holding and all of its items More... |
|
Public Member Functions inherited from AlmaObjectWithMARC
| |
| useNormac () | |
| addControlField ($tag, $data) | |
| add a data field to the MARC record using Normac More... |
|
| addDataField ($tag, $indicators, $subfields) | |
| add a data field to the MARC record using Normac More... |
|
| normacToXML () | |
| convert normac fields back to XML More... |
|
| appendField ($tag, $ind1, $ind2, $subfields) | |
| add a field to the MARC record More... |
|
| getFields ($tag) | |
| get fields for the given MARC tag More... |
|
| getMarcFields ($tag) | |
| get fields for the given MARC tag More... |
|
| getSubfieldValues ($tag, $code) | |
| get subfield value More... |
|
| deleteField ($tag) | |
| delete all $tag fields from the MARC record More... |
|
| deleteSubfieldMatching ($tag, $code, $regex) | |
| delete subfields matching a regex More... |
|
| replaceOrAddSubfield ($tag, $code, $value) | |
| replace or add subfield value in marc More... |
|
Public Member Functions inherited from AlmaObject
| |
| __construct () | |
| create new blank Alma Object More... |
|
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Static Public Member Functions | |
| static | getMmsFromHoldingID ($holding_id) |
| populates the MMS ID More... |
|
Public Attributes | |
| $itemList | |
| $items = array() | |
| $xml | |
| $el_address | |
Public Attributes inherited from AlmaObjectWithMARC
| |
| $marc | |
Public Attributes inherited from AlmaObject
| |
| $el_access = array() | |
| $xml | |
| $templateDir = __DIR__ . "/templates" | |
class Holding
Definition at line 2579 of file grima-lib.php.
| Holding::addToAlmaBib | ( | $mms_id | ) |
adds a new holding record to the specified bib
| string | $mms_id | bib record to add the holdings record |
Definition at line 2710 of file grima-lib.php.
References $grima.
| Holding::deleteFromAlma | ( | ) |
delete the holding record from Alma
Definition at line 2742 of file grima-lib.php.
References $grima.
| Holding::deleteTreeFromAlma | ( | ) |
delete the holding and all of its items
Definition at line 2830 of file grima-lib.php.
References $grima, and Grima\getItemList().
| Holding::getItemList | ( | ) |
populates itemList property from Alma
Definition at line 2819 of file grima-lib.php.
References $grima.
| Holding::getItems | ( | ) |
populate items property with Items objects ## XXX TEST
Definition at line 2808 of file grima-lib.php.
References Grima\getItemList().
|
static |
populates the MMS ID
Definition at line 2653 of file grima-lib.php.
References $grima.
Referenced by getMmsIfNeeded(), and loadFromAlmaX().
| Holding::getMmsIfNeeded | ( | ) |
populates the MMS ID if not already known
Definition at line 2680 of file grima-lib.php.
References $grima, and getMmsFromHoldingID().
| Holding::hasItems | ( | ) |
checks whether a holding record has any items
Definition at line 2722 of file grima-lib.php.
References Grima\getItemList(), and test().
| Holding::loadFromAlma | ( | $mms_id, | |
| $holding_id | |||
| ) |
populates the record from Alma
| $mms_id | MMS ID of bib record |
| $holding_id | Holding ID of holding |
Definition at line 2641 of file grima-lib.php.
References $grima.
| Holding::loadFromAlmaX | ( | $holding_id | ) |
populates the record from Alma - only requires holding_id
| $holding_id | Holding ID of holding |
Definition at line 2695 of file grima-lib.php.
References $grima, and getMmsFromHoldingID().
| Holding::moveToBib | ( | $mms_id | ) |
moves the holding from one bib to another – only for empty holdings!
Definition at line 2798 of file grima-lib.php.
| Holding::offsetGet | ( | $offset | ) |
Definition at line 2592 of file grima-lib.php.
| Holding::offsetSet | ( | $offset, | |
| $value | |||
| ) |
Definition at line 2584 of file grima-lib.php.
| Holding::setCallNumber | ( | $h, | |
| $i, | |||
| $ind1 | |||
| ) |
| Holding::setCallNumberFromBib | ( | ) |
Definition at line 2750 of file grima-lib.php.
| Holding::updateAlma | ( | ) |
| Holding::$el_address |
Definition at line 2619 of file grima-lib.php.
| Holding::$itemList |
Definition at line 2580 of file grima-lib.php.
| Holding::$items = array() |
Definition at line 2581 of file grima-lib.php.
| Holding::$xml |
Definition at line 2582 of file grima-lib.php.
1.8.13