You are here

function File::_warn in Bibliography Module 6

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

* Fuction to issue warnings * * Warnings will not be displayed unless explicitly accessed, but all * warnings issued during parse will be stored *

Parameters

string Warning: * @return string Last added warning

3 calls to File::_warn()
File::decode in marcParse/php-marc.php
* Decode a given raw MARC record * * "Port" of Andy Lesters MARC::File::USMARC->decode() function into PHP. Ideas and * "rules" have been used from USMARC::decode(). * *
File::file in marcParse/php-marc.php
* Read in MARC record file * * This function will read in MARC record files that either * contain a single MARC record, or numerous records. *
File::_next in marcParse/php-marc.php
* Return the next raw MARC record * * Returns th nexts raw MARC record from the read file, unless all * records already have been read. *

File

marcParse/php-marc.php, line 121

Class

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

Code

function _warn($msg) {
  $this->warn[] = $msg;
  return $msg;
}