You are here

function Field::_croak in Bibliography Module 6

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

* Croaking function * * Similar to Perl's croak function, which ends parsing and raises an * user error with a descriptive message. *

Parameters

string The message to display:

2 calls to Field::_croak()
Field::data in marcParse/php-marc.php
* Set/Get Data of Control field * * Sets the Data if argument given, otherwise Data returned *
Field::replace_with in marcParse/php-marc.php
* Replace Field with given Field * *

File

marcParse/php-marc.php, line 721

Class

Field
Field Class Create a MARC Field object

Code

function _croak($msg) {
  trigger_error($msg, E_USER_ERROR);
}