You are here

public function Record::delete_field in Bibliography Module 7

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.2 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 626
@package PHP-MARC

Class

Record
Record Class Create a MARC Record class.

Code

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