You are here

function USMARC::usmarc in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/marcParse/php-marc.php \USMARC::usmarc()
  2. 7.2 modules/marcParse/php-marc.php \USMARC::usmarc()

* Read raw MARC string for decoding *

Parameters

string Raw MARC:

File

marcParse/php-marc.php, line 355

Class

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

Code

function usmarc($string) {
  $this->raw[] = $string;
  $this->pointer = 0;
}