![]() |
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... | |
| updateAlma () | |
| update holding record in Alma More... | |
| deleteFromAlma () | |
| delete the holding record from Alma More... | |
| 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 | |
| appendField ($tag, $ind1, $ind2, $subfields) | |
| add a field to the MARC record More... | |
| getFields ($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 AlmaObject | |
| $el_access = array() | |
| $xml | |
| $templateDir = __DIR__ . "/templates" | |
class Holding
Definition at line 2176 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 2299 of file grima-lib.php.
References $grima.
Referenced by moveToBib().
| Holding::deleteFromAlma | ( | ) |
delete the holding record from Alma
Definition at line 2320 of file grima-lib.php.
References $grima.
Referenced by deleteTreeFromAlma(), and moveToBib().
| Holding::deleteTreeFromAlma | ( | ) |
delete the holding and all of its items
Definition at line 2396 of file grima-lib.php.
References $grima, deleteFromAlma(), and getItemList().
| Holding::getItemList | ( | ) |
populates itemList property from Alma
Definition at line 2385 of file grima-lib.php.
References $grima, and getMmsIfNeeded().
Referenced by deleteTreeFromAlma(), and getItems().
| Holding::getItems | ( | ) |
populate items property with Items objects ## XXX TEST
Definition at line 2375 of file grima-lib.php.
References getItemList().
|
static |
populates the MMS ID
Definition at line 2243 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 2269 of file grima-lib.php.
References $grima, and getMmsFromHoldingID().
Referenced by getItemList().
| 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 2231 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 2284 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 2365 of file grima-lib.php.
References addToAlmaBib(), and deleteFromAlma().
| Holding::offsetGet | ( | $offset | ) |
Definition at line 2189 of file grima-lib.php.
References AlmaObjectWithMARC\getSubfieldValues().
| Holding::offsetSet | ( | $offset, | |
| $value | |||
| ) |
Definition at line 2181 of file grima-lib.php.
| Holding::setCallNumber | ( | $h, | |
| $i, | |||
| $ind1 | |||
| ) |
| Holding::updateAlma | ( | ) |
| Holding::$el_address |
Definition at line 2216 of file grima-lib.php.
| Holding::$itemList |
Definition at line 2177 of file grima-lib.php.
| Holding::$items = array() |
Definition at line 2178 of file grima-lib.php.
| Holding::$xml |
Definition at line 2179 of file grima-lib.php.
1.8.14