[File_MARC] element index

All elements
a c d e f g i k l m n o p r s t u w _
_
top
__construct
Field init function
__construct
Read in MARC records
__construct
Read in MARCXML records
__construct
Start function
__construct
File_MARC_Subfield constructor
__construct
File_MARC_Field constructor
__construct
__destruct
Destroys the data field
__destruct
Destroys the control field
__destruct
Destroys the subfield
__destruct
Destroys the data field
__destruct
Destroys the data field
__toString
Return string representation of subfield
__toString
Return Field formatted
__toString
Return as a formatted string
__toString
Return Field formatted
__toString
Return the MARC record in a pretty printed string
a
top
addSubfields
Adds an array of subfields to a File_MARC_Data_Field object
addWarnings
Add a warning to the MARC record that something non-fatal occurred during parsing.
appendField
Appends field to MARC record
appendSubfield
Appends subfield to subfield list
MAX_RECORD_LENGTH
Maximum record length
c
top
$code
Subfield code, e.g. _a, _b
$counter
File_MARCXML::$counter in MARCXML.php
Counter for MARCXML records in a collection
Control_Field.php
Control_Field.php in Control_Field.php
d
top
$data
File_MARC_Control_Field::$data in Control_Field.php
Value of field, if field is a Control field
$data
Data contained by the subfield
delete
Destroys the subfield
delete
Destroys the data field
delete
Destroys the control field
deleteFields
Delete all occurrences of a field matching a tag name from the record.
deleteSubfield
Delete a subfield from the field.
Data_Field.php
Data_Field.php in Data_Field.php
e
top
LEADER_LEN
Length of the Leader
Exception.php
Exception.php in Exception.php
f
top
$fields
Contains a linked list of File_MARC_Data_Field objects for
File_MARC
File_MARC in MARC.php
The main File_MARC class enables you to return File_MARC_Record objects from a stream or string.
File_MARCXML
File_MARCXML in MARCXML.php
The main File_MARCXML class enables you to return File_MARC_Record objects from an XML stream or string.
File_MARC_Control_Field
File_MARC_Control_Field in Control_Field.php
The File_MARC_Control_Field class represents a single control field in a MARC record.
File_MARC_Data_Field
File_MARC_Data_Field in Data_Field.php
The File_MARC_Data_Field class represents a single field in a MARC record.
File_MARC_Exception
File_MARC_Exception in Exception.php
The File_MARC_Exception class enables error-handling for the File_MARC package.
File_MARC_Field
File_MARC_Field in Field.php
The File_MARC_Field class is expected to be extended to reflect the requirements of control and data fields.
File_MARC_List
File_MARC_List in List.php
The File_MARC_List class extends the Structures_LinkedList_Double class to override the key() method in a meaningful way for foreach() iterators.
File_MARC_Record
File_MARC_Record in Record.php
Represents a single MARC record
File_MARC_Subfield
File_MARC_Subfield in Subfield.php
The File_MARC_Subfield class represents a single subfield in a MARC record field.
formatError
Replaces placeholder tokens in an error message with actual values.
Field.php
Field.php in Field.php
g
top
getCode
Return code of the subfield
getData
Return data of the subfield
getData
Get control field data
getField
Return the first File_MARC_Data_Field or File_MARC_Control_Field object that matches the specified tag name. Returns false if no match is found.
getFields
Return an array or File_MARC_List containing all File_MARC_Data_Field or File_MARC_Control_Field objects that match the specified tag name. If the tag name is omitted all fields are returned.
getIndicator
Get the value of an indicator
getLeader
Get MARC leader
getSubfield
Returns the first subfield that matches a requested code.
getSubfields
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.
getTag
Returns the tag for this File_MARC_Field object
getWarnings
Return the array of warnings from the MARC record.
i
top
$ind1
File_MARC_Data_Field::$ind1 in Data_Field.php
Value of the first indicator
$ind2
File_MARC_Data_Field::$ind2 in Data_Field.php
Value of the second indicator
DIRECTORY_ENTRY_LEN
Length of the Directory
insertField
Inserts a field in the MARC record relative to an existing field
insertSubfield
Inserts a field in the MARC record relative to an existing field
isEmpty
Checks whether the subfield is empty or not
isEmpty
Checks if the field is empty.
isEmpty
Is empty
isEmpty
Is empty
k
top
key
Returns the tag for a File_MARC_Field object, or the code for a File_MARC_Subfield object.
l
top
$leader
Record leader
List.php
List.php in List.php
m
top
$messages
MARC.php
MARC.php in MARC.php
MARCXML.php
MARCXML.php in MARCXML.php
n
top
END_OF_FIELD
Hexadecimal value for End of Field
END_OF_RECORD
Hexadecimal value for End of Record
next
File_MARCXML::next() in MARCXML.php
Return next File_MARC_Record object
next
File_MARC::next() in MARC.php
Return next File_MARC_Record object
nextRaw
Return the next raw MARC record
o
top
SOURCE_FILE
MARC records retrieved from a file
SOURCE_FILE
MARC records retrieved from a file
SOURCE_STRING
MARC records retrieved from a binary string
SOURCE_STRING
MARC records retrieved from a binary string
p
top
prependField
Prepends field to MARC record
prependSubfield
Prepends subfield to subfield liss
r
top
ERROR_EMPTY_SUBFIELD
A subfield is defined, but has no data
ERROR_FIELD_EOF
A field does not end with the expected end-of-field character
ERROR_INCORRECT_LENGTH
The length in the MARC leader does not match the actual record length
ERROR_INSERTFIELD_MODE
An invalid mode for adding a field was specified
ERROR_INSERTSUBFIELD_MODE
An invalid mode for adding a subfield was specified
ERROR_INVALID_DIRECTORY
An entry in the MARC directory runs past the end of the record
ERROR_INVALID_DIRECTORY_LENGTH
An entry in the MARC directory was not 12 bytes
ERROR_INVALID_DIRECTORY_OFFSET
An entry in the MARC directory specified an invalid field offset
ERROR_INVALID_DIRECTORY_TAG
An entry in the MARC directory specified an invalid tag
ERROR_INVALID_DIRECTORY_TAG_LENGTH
An entry in the MARC directory specified an invalid tag length
ERROR_INVALID_FIELD
An invalid object was passed instead of a File_MARC_Field object
ERROR_INVALID_FILE
File could not be opened
ERROR_INVALID_INDICATOR
A field has invalid indicators
ERROR_INVALID_INDICATORS
A field has invalid indicators
ERROR_INVALID_INDICATOR_REQUEST
An indicator other than 1 or 2 was requested
ERROR_INVALID_SOURCE
User passed an unknown SOURCE_ constant
ERROR_INVALID_SUBFIELD
An invalid object was passed instead of a File_MARC_Subfield object
ERROR_INVALID_TAG
Tag does not adhere to MARC standards
ERROR_INVALID_TERMINATOR
MARC record ended with an invalid terminator
ERROR_MISSING_LENGTH
The length field in the leader was less than five characters long
ERROR_NONNUMERIC_LENGTH
A five-digit length could not be found in the MARC leader
ERROR_NO_DIRECTORY
No directory was found for the MARC record
Record.php
Record.php in Record.php
s
top
$source
File_MARC::$source in MARC.php
Source containing raw records
$source
File_MARCXML::$source in MARCXML.php
Source containing raw records
$subfields
Linked list of subfields
Subfield.php
Subfield.php in Subfield.php
setCode
Sets code of the subfield
setData
Set control field data
setData
Sets data of the subfield
setIndicator
Set the value of an indicator
setLeader
Set MARC record leader
setLeaderLengths
Set MARC record leader lengths
setTag
Sets the tag for this File_MARC_Field object
t
top
$tag
The tag name of the Field
$type
File_MARCXML::$type in MARCXML.php
Source type (SOURCE_FILE or SOURCE_STRING)
$type
File_MARC::$type in MARC.php
Source type (SOURCE_FILE or SOURCE_STRING)
toRaw
Return the USMARC representation of the subfield
toRaw
Return the record in raw MARC format.
toRaw
Return Field in Raw MARC
toRaw
Return field in raw MARC format (stub)
toRaw
Return as raw MARC
toXML
Return the MARC record in MARCXML format
u
top
SUBFIELD_INDICATOR
Hexadecimal value for Subfield indicator
w
top
$warnings
Non-fatal warnings generated during parsing
a c d e f g i k l m n o p r s t u w _