You are here

function Record::_warn in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/marcParse/php-marc.php \Record::_warn()
  2. 6 marcParse/php-marc.php \Record::_warn()
  3. 7 modules/marcParse/php-marc.php \Record::_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 value

string Last added warning

File

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

Class

Record
Record Class Create a MARC Record class

Code

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