The File_MARC_Data_Field class represents a single field in a MARC record.
A MARC data field consists of a tag name, two indicators which may be null, and zero or more subfields represented by File_MARC_Subfield objects. Subfields are held within a linked list structure.
Located in /MARC/Data_Field.php (line 53)
Structures_LinkedList_DoubleNode | --File_MARC_Field | --File_MARC_Data_Field
Value of the first indicator
Value of the second indicator
Linked list of subfields
Inherited from File_MARC_Field
File_MARC_Field::$tag
File_MARC_Data_Field constructor
Create a new File_MARC_Data_Field object. The only required parameter is a tag. This enables programs to build up new fields programmatically.
Destroys the data field
Adds an array of subfields to a File_MARC_Data_Field object
Appends subfields to existing subfields in the order in which they appear in the array. For finer grained control of the subfield order, use appendSubfield(), prependSubfield(), or insertSubfield() to add each subfield individually.
Appends subfield to subfield list
Adds a File_MARC_Subfield object to the end of the existing list of subfields.
Destroys the data field
Get the value of an indicator
Returns the first subfield that matches a requested code.
Returns an array of subfields that match a requested code, or a File_MARC_List that contains all of the subfields if the requested code is null.
Inserts a field in the MARC record relative to an existing field
Inserts a File_MARC_Subfield object before or after an existing subfield.
Checks if the field is empty.
Checks if the field is empty. If the field has at least one subfield with data, it is not empty.
Prepends subfield to subfield liss
Adds a File_MARC_Subfield object to the start of the existing list of subfields.
Set the value of an indicator
Return Field in Raw MARC
Return the Field formatted in Raw MARC for saving into MARC files
Return Field formatted
Return Field as a formatted string.
Inherited From File_MARC_Field
File_MARC_Field::__construct()
File_MARC_Field::getTag()
File_MARC_Field::isEmpty()
File_MARC_Field::setTag()
File_MARC_Field::toRaw()
File_MARC_Field::__destruct()
File_MARC_Field::__toString()
Documentation generated on Mon, 01 Jan 2007 23:44:40 -0500 by phpDocumentor 1.3.1