Represents a single MARC record
A MARC record contains a leader and zero or more fields held within a linked list structure. Fields are represented by MARC_Data_Field objects.
Located in /MARC.php (line 423)
Contains a linked list of MARC_Data_Field objects for this Record
Record leader
Error stack
Start function
Set all variables to defaults to create new MARC_Record object
Adds field to MARC record
Adds a MARC_Control_Field or MARC_Data_Field object to the existing list of fields according to the specified mode.
Delete all occurrences of a field matching a tag name from the record.
Deletes the requested field from the record.
Get errors (if any) for this object
Returns the error stack.
Return an array containing all MARC_Data_Field or MARC_Control_Field objects * that match the specified tag name.
If the tag name is omitted all fields will be returned.
Formatted representation of MARC_Data_Field
Format a Field with a sprintf()-like formatting syntax. The formatting codes are the names of the subfields of the field.
Get MARC leader
Returns the leader for the MARC record. No validation on the specified leader is performed
Retrieve subfields from a MARC_Data_Field object
From the specified Field object, return all subfields with a matching code
Set MARC record leader
Sets the leader for the MARC record. No validation on the specified leader is performed.
Set MARC record leader lengths
Set the Leader lengths of the record according to defaults specified in http://www.loc.gov/marc/bibliographic/ecbdleaderd.html
Return the Record in raw MARC format.
Return the MARC record in a pretty printed string
Return the MARC record in a pretty printed string.
Documentation generated on Mon, 14 Aug 2006 18:59:29 -0400 by phpDocumentor 1.3.0RC6