additional()
Submitted by lanttis on 6 July, 2004 - 09:54.
Description
mixed additional (string syntax)
Gives the user the possibility to retrieve the record in an additional format than the Emilda Record Model, e.g. Raw MARC, GRS array etc. This is particulary suitable for cases where the user wants to pass the raw MARC to some script or similar.
The argument passed is the format desired. To see which formats are present, please turn to the PHP/YAZ documentation.
Examples
Example of first extracting the Emilda Record and then the raw MARC data.
... Initialize and search ...
while($record = $search->next()) {
$raw = $search->additional("raw");
... process ...
}

