function Record::raw in Bibliography Module 6
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Record::raw()
- 7 modules/marcParse/php-marc.php \Record::raw()
- 7.2 modules/marcParse/php-marc.php \Record::raw()
* Return Raw * * Return the Record in raw MARC format. *
Return value
string Raw MARC data
File
- marcParse/
php-marc.php, line 636
Class
- Record
- Record Class Create a MARC Record class
Code
function raw() {
list($fields, $directory, $reclen, $baseaddress) = $this
->_build_dir();
$this
->leader_lengths($reclen, $baseaddress);
/**
* Glue together all parts
*/
return $this->ldr . implode("", $directory) . END_OF_FIELD . implode("", $fields) . END_OF_RECORD;
}