Class MARC_Link

Description

The MARC_Link class represents a node in a MARC_Linked_List linked list structure.

Located in /MARC.php (line 1902)


	
			
Direct descendents
Class Description
MARC_Field The MARC_Field class is expected to be extended to reflect the requirements of control and data fields.
MARC_Subfield The MARC_Subfield class represents a single subfield in a MARC record field.
Variable Summary
Method Summary
MARC_Link __construct ([MARC_Link $link = null])
void __destruct ()
PEAR_ErrorStack getErrors ()
MARC_Link setNext ([ &$link = null], MARC_Link $link)
MARC_Link setPrevious ([ &$link = null], MARC_Link $link)
Variables
MARC_Link $_next (line 1908)

Next node in the linked list

  • access: protected
MARC_Link $_previous (line 1914)

Previous node in the linked list

  • access: protected
PEAR::ErrorStack $_stack (line 1921)

Error stack

  • access: protected

Redefined in descendants as:
Methods
Constructor __construct (line 1931)

MARC_Link constructor

MARC_Link __construct ([MARC_Link $link = null])

Redefined in descendants as:
Destructor __destruct (line 1955)

Removes link from the list, adjusting the next and previous links accordingly

This is a problem if the link is the root node for the list. At this point, however, we do not have access to the list itself. Hmm.

void __destruct ()

Redefined in descendants as:
getErrors (line 2000)

Get errors (if any) for this object

Returns the error stack.

  • return: returns the error stack
PEAR_ErrorStack getErrors ()
next (line 1976)

Return the next link in the linked list

  • return: next node in the linked list
  • access: public
MARC_Link next ()
previous (line 1987)

Return the previous link in the linked list

  • return: previous node in the linked list
  • access: public
MARC_Link previous ()
setNext (line 2013)

Sets the pointer for the next link in the linked list to the specified link

  • return: new next node in the linked list
  • access: public
MARC_Link setNext ([ &$link = null], MARC_Link $link)
  • MARC_Link $link: new next node in the linked list
  • &$link
setPrevious (line 2026)

Sets the pointer for the previous link in the linked list to the specified link

  • return: new previous node in the linked list
  • access: public
MARC_Link setPrevious ([ &$link = null], MARC_Link $link)
  • MARC_Link $link: new previous node in the linked list
  • &$link

Documentation generated on Mon, 14 Aug 2006 18:59:29 -0400 by phpDocumentor 1.3.0RC6