You are here

public function File::next in Bibliography Module 7

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.2 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 237
@package PHP-MARC

Class

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

Code

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