You are here

function Field::_warn in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/marcParse/php-marc.php \Field::_warn()
  2. 7 modules/marcParse/php-marc.php \Field::_warn()
  3. 7.2 modules/marcParse/php-marc.php \Field::_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 Field::_warn()
Field::add_subfields in marcParse/php-marc.php
* Add subfield * * Appends subfields to existing fields last, not in "correct" plase *
Field::field in marcParse/php-marc.php
* Field init function * * Create a new Field object from passed arguments *
Field::indicator in marcParse/php-marc.php
* Get values of indicators * *

File

marcParse/php-marc.php, line 733

Class

Field
Field Class Create a MARC Field object

Code

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