You are here

public function File::num_records in Bibliography Module 7

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

Get the number of records available in this Record.

Return value

int The number of records

File

modules/marcParse/php-marc.php, line 369
@package PHP-MARC

Class

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

Code

public function num_records() {
  return count($this->raw);
}