Grima 2018-08
Whispering into Alma's ear
Public Member Functions | Public Attributes | List of all members
ISO2709Subfield Class Reference

Public Member Functions

  __construct ( $identifier, $data)
 
  remove ()
 
  delete ()
 
  prev ()
 

Public Attributes

  $identifier
 
  $data
 
  $field
 

Detailed Description

Definition at line 663 of file ISO2709.php.

Constructor & Destructor Documentation

◆ __construct()

ISO2709Subfield::__construct (   $identifier,
  $data 
)

Definition at line 665 of file ISO2709.php.

665 {
666 $this->identifier = $identifier;
667 $this->data = $data;
668 }

References $data, and $identifier.

Member Function Documentation

◆ delete()

ISO2709Subfield::delete ( )

Definition at line 672 of file ISO2709.php.

672 {
673 return $this->field->removeSubfield( $this );
674 }

◆ prev()

ISO2709Subfield::prev ( )

Definition at line 676 of file ISO2709.php.

676 {
677 $prev = null;
678 foreach( $this->field->subfields as $vv ) {
679 if ($vv == $this) {
680 return $prev;
681 } else {
682 $prev = $vv;
683 }
684 }
685 }

◆ remove()

ISO2709Subfield::remove ( )

Definition at line 669 of file ISO2709.php.

669 {
670 return $this->field->removeSubfield( $this );
671 }

Member Data Documentation

◆ $data

ISO2709Subfield::$data

Definition at line 664 of file ISO2709.php.

Referenced by __construct().

◆ $field

ISO2709Subfield::$field

Definition at line 664 of file ISO2709.php.

◆ $identifier

ISO2709Subfield::$identifier

Definition at line 664 of file ISO2709.php.

Referenced by __construct().


The documentation for this class was generated from the following file: