Full index

Package indexes


a c d g i k m n p r s t v _
a
top
addField
Adds field to MARC record
addLink
Adds a @see MARC_Link object to the linked list.
addSubfield
Add subfield to a field in a MARC record
addSubfields
Adds an array of subfields to a MARC_Data_Field object
c
top
current
Returns the current node in the linked list
d
top
delete
Destroys the control field
delete
Destroys the data field
delete
Destroys the subfield
deleteAll
Delete all occurrences of a field matching a tag name from the record.
deleteField
Deletes the requested field from the record.
deleteLink
deleteSubfield
duplicate
Duplicate a record with all its fields and subfields
duplicate
Duplicate field
duplicate
Duplicate field
g
top
getAllSubfields
Returns an array containing all subfields in this field
getCode
Return code of the subfield
getData
Return data of the subfield
getData
Get control field data
getErrors
Get errors (if any) for this object
getErrors
Get errors (if any) for this object
getErrors
Get errors (if any) for this object
getFields
Return an array containing all MARC_Data_Field or MARC_Control_Field objects * that match the specified tag name.
getFormattedField
Formatted representation of MARC_Data_Field
getIndicator
Get values of indicators
getLeader
Get MARC leader
getSubfield
Returns the MARC_Subfield object, or array of objects, for a requested code
getSubfield
Retrieve subfields from a MARC_Data_Field object
getTag
Returns the tag for this MARC_Field object
i
top
isEmpty
Checks whether the subfield is empty or not
isEmpty
Is empty
isEmpty
Is empty
isEmpty
Is empty
k
top
key
Stub for Iterator interface that simply returns the current node
m
top
MARC
MARC in MARC.php
The main MARC class enables you to read MARC records from a stream or string.
MARC.php
MARC.php in MARC.php
MARC_Control_Field
MARC_Control_Field in MARC.php
The MARC_Control_Field class represents a single control field in a MARC record.
MARC_Data_Field
MARC_Data_Field in MARC.php
The MARC_Data_Field class represents a single field in a MARC record.
MARC_DIRECTORY_ENTRY_LEN
Length of the Directory
MARC_END_OF_FIELD
MARC_END_OF_FIELD in MARC.php
Hexadecimal value for End of Field
MARC_END_OF_RECORD
MARC_END_OF_RECORD in MARC.php
Hexadecimal value for End of Record
MARC_ERROR_EMPTY_SUBFIELD
MARC_ERROR_FIELD_EOF
MARC_ERROR_INVALID_DIRECTORY
MARC_ERROR_INVALID_DIRECTORY_LENGTH
MARC_ERROR_INVALID_DIRECTORY_OFFSET
MARC_ERROR_INVALID_DIRECTORY_TAG
MARC_ERROR_INVALID_DIRECTORY_TAG_LENGTH
MARC_ERROR_INVALID_FIELD
MARC_ERROR_INVALID_FILE
Define error codes
MARC_ERROR_INVALID_INDICATORS
MARC_ERROR_INVALID_INDICATOR_REQUEST
MARC_ERROR_INVALID_MODE
MARC_ERROR_INVALID_SOURCE
MARC_ERROR_INVALID_SUBFIELD
MARC_ERROR_INVALID_TERMINATOR
MARC_ERROR_NO_DIRECTORY
MARC_Field
MARC_Field in MARC.php
The MARC_Field class is expected to be extended to reflect the requirements of control and data fields.
MARC_LEADER_LEN
MARC_LEADER_LEN in MARC.php
Length of the Leader
MARC_Link
MARC_Link in MARC.php
The MARC_Link class represents a node in a MARC_Linked_List linked list structure.
MARC_Linked_List
MARC_Linked_List in MARC.php
The MARC_Linked_List class represents a linked list structure composed of MARC_Link objects.
MARC_LINK_ADD_AFTER
Add link after the target link in the linked list
MARC_LINK_ADD_APPEND
Add link to the end of the linked list
MARC_LINK_ADD_BEFORE
Add link before the target link in the linked list
MARC_Record
MARC_Record in MARC.php
Represents a single MARC record
MARC_SOURCE_FILE
MARC_SOURCE_FILE in MARC.php
MARC records retrieved from a file
MARC_SOURCE_STRING
MARC_SOURCE_STRING in MARC.php
MARC records retrieved from a binary string
MARC_Subfield
MARC_Subfield in MARC.php
The MARC_Subfield class represents a single subfield in a MARC record field.
MARC_SUBFIELD_INDICATOR
Hexadecimal value for Subfield indicator
n
top
next
MARC::next() in MARC.php
Return next MARC_Record object
next
Sets the pointer for the linked list to the next link and returns that link
next
MARC_Link::next() in MARC.php
Return the next link in the linked list
nextRaw
MARC::nextRaw() in MARC.php
Return the next raw MARC record
numRecords
MARC::numRecords() in MARC.php
Get the number of records available in this Record
p
top
previous
Sets the pointer for the linked list to the previous link and returns that link
previous
Return the previous link in the linked list
r
top
rewind
Sets the pointer for the linked list to the root node
s
top
setCode
Sets code of the subfield
setData
Set control field data
setData
Sets data of the subfield
setIndicator
Set value of an indicator
setLeader
Set MARC record leader
setLeaderLengths
Set MARC record leader lengths
setNext
Sets the pointer for the next link in the linked list to the specified link
setPrevious
Sets the pointer for the previous link in the linked list to the specified link
setTag
Sets the tag for this MARC_Field object
t
top
toRaw
Return the USMARC representation of the subfield
toRaw
Return the Record in raw MARC format.
toRaw
Return field in raw MARC format (stub)
toRaw
Return Field in Raw MARC
toRaw
Return as raw MARC
v
top
valid
Stub for Iterator interface that simply returns the current node
_
top
$_code
Subfield code, e.g. _a, _b
$_current
Current node in the linked list
$_data
Data contained by the subfield
$_data
Value of field, if field is a Control field
$_fields
Contains a linked list of MARC_Data_Field objects for this Record
$_ind1
Value of the first indicator
$_ind2
Value of the second indicator
$_leader
Record leader
$_next
MARC_Link::$_next in MARC.php
Next node in the linked list
$_pointer
MARC::$_pointer in MARC.php
Current position in the array of records
$_previous
Previous node in the linked list
$_raw
MARC::$_raw in MARC.php
Array containing raw records
$_root_node
Root node of the linked list
$_stack
Error stack
$_stack
MARC_Link::$_stack in MARC.php
Error stack
$_stack
MARC::$_stack in MARC.php
Error stack
$_stack
Error stack
$_stack
Error stack
$_subfields
Linked list of subfields
$_tag
MARC_Field::$_tag in MARC.php
The tag name of the Field
__construct
MARC_Linked_List constructor
__construct
Field init function
__construct
Read in MARC records
__construct
MARC_Subfield constructor
__construct
Start function
__construct
MARC_Field constructor
__construct
MARC_Link constructor
__construct
Field init function
__destruct
Destroys the subfield
__destruct
Destroys the control field
__destruct
Destroys the data field
__destruct
Destroys the data field
__destruct
Removes link from the list, adjusting the next and previous links accordingly
__toString
Return string representation of subfield
__toString
Return Field formatted
__toString
Return Field formatted
__toString
Return the MARC record in a pretty printed string
__toString
Return as a formatted string
a c d g i k m n p r s t v _