MarcBasicTrait
Functions to add basic MARC-driven functionality to a record driver not already powered by the standard index spec. Depends upon MarcReaderTrait.
Tags
Table of Contents
- getCallNumbers() : array<string|int, mixed>
- Get the call numbers associated with the record (empty array if none).
- getCorporateAuthors() : array<string|int, mixed>
- Get an array of all corporate authors (complementing getPrimaryAuthor()).
- getDateSpan() : array<string|int, mixed>
- Get the date coverage for a record which spans a period of time (i.e. a journal). Use getPublicationDates for publication dates of particular monographic items.
- getDeweyCallNumber() : string
- Get the Dewey call number associated with this record (empty string if none).
- getEdition() : string
- Get the edition of the current record.
- getFormats() : array<string|int, mixed>
- Get an array of all the formats associated with the record.
- getISBNs() : array<string|int, mixed>
- Get an array of all ISBNs associated with the record (may be empty).
- getISSNs() : array<string|int, mixed>
- Get an array of all ISSNs associated with the record (may be empty).
- getLanguages() : array<string|int, mixed>
- Get an array of all the languages associated with the record.
- getNewerTitles() : array<string|int, mixed>
- Get an array of newer titles for the record.
- getPhysicalDescriptions() : array<string|int, mixed>
- Get an array of physical descriptions of the item.
- getPreviousTitles() : array<string|int, mixed>
- Get an array of previous titles for the record.
- getPrimaryAuthors() : array<string|int, mixed>
- Get the main authors of the record.
- getPublicationDates() : array<string|int, mixed>
- Get the publication dates of the record. See also getDateSpan().
- getPublishers() : array<string|int, mixed>
- Get the publishers of the record.
- getSecondaryAuthors() : array<string|int, mixed>
- Get an array of all secondary authors (complementing getPrimaryAuthors()).
- getShortTitle() : string
- Get the short (pre-subtitle) title of the record.
- getSortTitle() : string
- Get a sortable title for the record (i.e. no leading articles).
- getSubtitle() : string
- Get the subtitle of the record.
- getTitle() : string
- Get the full title of the record.
- getUniqueID() : string
- Return the unique identifier of this record within the Solr index; useful for retrieving additional information (like tags and user comments) from the external MySQL database.
- getRawLCCN() : string
- Get a raw, unnormalized LCCN. (See DefaultRecord::getLCCN for normalization).
Methods
getCallNumbers()
Get the call numbers associated with the record (empty array if none).
public
getCallNumbers() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCorporateAuthors()
Get an array of all corporate authors (complementing getPrimaryAuthor()).
public
getCorporateAuthors() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDateSpan()
Get the date coverage for a record which spans a period of time (i.e. a journal). Use getPublicationDates for publication dates of particular monographic items.
public
getDateSpan() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDeweyCallNumber()
Get the Dewey call number associated with this record (empty string if none).
public
getDeweyCallNumber() : string
Return values
string —getEdition()
Get the edition of the current record.
public
getEdition() : string
Return values
string —getFormats()
Get an array of all the formats associated with the record.
public
getFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —getISBNs()
Get an array of all ISBNs associated with the record (may be empty).
public
getISBNs() : array<string|int, mixed>
Return values
array<string|int, mixed> —getISSNs()
Get an array of all ISSNs associated with the record (may be empty).
public
getISSNs() : array<string|int, mixed>
Return values
array<string|int, mixed> —getLanguages()
Get an array of all the languages associated with the record.
public
getLanguages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getNewerTitles()
Get an array of newer titles for the record.
public
getNewerTitles() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPhysicalDescriptions()
Get an array of physical descriptions of the item.
public
getPhysicalDescriptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPreviousTitles()
Get an array of previous titles for the record.
public
getPreviousTitles() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPrimaryAuthors()
Get the main authors of the record.
public
getPrimaryAuthors() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPublicationDates()
Get the publication dates of the record. See also getDateSpan().
public
getPublicationDates() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPublishers()
Get the publishers of the record.
public
getPublishers() : array<string|int, mixed>
Return values
array<string|int, mixed> —getSecondaryAuthors()
Get an array of all secondary authors (complementing getPrimaryAuthors()).
public
getSecondaryAuthors() : array<string|int, mixed>
Return values
array<string|int, mixed> —getShortTitle()
Get the short (pre-subtitle) title of the record.
public
getShortTitle() : string
Return values
string —getSortTitle()
Get a sortable title for the record (i.e. no leading articles).
public
getSortTitle() : string
Return values
string —getSubtitle()
Get the subtitle of the record.
public
getSubtitle() : string
Return values
string —getTitle()
Get the full title of the record.
public
getTitle() : string
Return values
string —getUniqueID()
Return the unique identifier of this record within the Solr index; useful for retrieving additional information (like tags and user comments) from the external MySQL database.
public
getUniqueID() : string
Return values
string —Unique identifier.
getRawLCCN()
Get a raw, unnormalized LCCN. (See DefaultRecord::getLCCN for normalization).
protected
getRawLCCN() : string