You are here

function Record::delete_field in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/marcParse/php-marc.php \Record::delete_field()
  2. 6 marcParse/php-marc.php \Record::delete_field()
  3. 7 modules/marcParse/php-marc.php \Record::delete_field()

Delete Field

Delete a given field from within a Record

Parameters

Field The field to be deleted:

File

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

Class

Record
Record Class Create a MARC Record class

Code

function delete_field($obj) {
  unset($this->fields[$obj->field]);
}