Skip to content
Snippets Groups Projects
Commit 642a35eb authored by Robert Lange's avatar Robert Lange
Browse files

refs #17489 [finc] add getter for marc 382a - Medium of Performance

* also see https://www.loc.gov/marc/bibliographic/bd382.html
parent 6eb049ad
No related merge requests found
...@@ -431,6 +431,27 @@ trait SolrMarcFincTrait ...@@ -431,6 +431,27 @@ trait SolrMarcFincTrait
return $this->getFieldArray('590', ['b']); return $this->getFieldArray('590', ['b']);
} }
/**
* Get an array of terms that indicate the instrumental, vocal
* and/or other medium of performance.
* https://www.loc.gov/marc/bibliographic/bd382.html
*
* @return array
*/
public function getMediumOfPerformance()
{
if ($field382 = $this->getMarcRecord()->getField('382')) {
return $this->getSubfieldArray(
$field382,
['a'],
true,
', '
);
}
return [];
}
/** /**
* Get the ISSN from a record. Refs #969 * Get the ISSN from a record. Refs #969
* *
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment