You are here

function File::next in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/marcParse/php-marc.php \File::next()
  2. 6 marcParse/php-marc.php \File::next()
  3. 7 modules/marcParse/php-marc.php \File::next()

Return next Record-object

Decode the next raw MARC record and return

Return value

Record A Record object

File

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

Class

File
Class File Class to read MARC records from file(s)

Code

function next() {
  if ($raw = $this
    ->_next()) {
    return $this
      ->decode($raw);
  }
  else {
    return FALSE;
  }
}