You are here

class USMARC in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/marcParse/php-marc.php \USMARC
  2. 6 marcParse/php-marc.php \USMARC
  3. 7 modules/marcParse/php-marc.php \USMARC

USMARC Class Extension class to File class, which allows passing of raw MARC string instead of filename

Hierarchy

Expanded class hierarchy of USMARC

File

modules/marcParse/php-marc.php, line 350

View source
class USMARC extends File {

  /**
   * Read raw MARC string for decoding
   * @param string Raw MARC
   */
  function usmarc($string) {
    $this->raw[] = $string;
    $this->pointer = 0;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
File::$pointer property Current position in the array of records
File::$raw property Array containing raw records
File::$warn property Array of warnings
File::decode function Decode a given raw MARC record
File::file function Read in MARC record file
File::next function Return next Record-object
File::num_records function Get the number of records available in this Record
File::warnings function Get warning(s)
File::_croak function Croaking function
File::_next function Return the next raw MARC record
File::_warn function Fuction to issue warnings
USMARC::usmarc function Read raw MARC string for decoding