function Field::make_clone in Bibliography Module 6
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Field::make_clone()
- 7 modules/marcParse/php-marc.php \Field::make_clone()
- 7.2 modules/marcParse/php-marc.php \Field::make_clone()
* Clone Field * *
Return value
File
- marcParse/
php-marc.php, line 940
Class
- Field
- Field Class Create a MARC Field object
Code
function make_clone() {
if ($this->is_control) {
return new Field($this->tagno, $this->data);
}
else {
return new Field($this->tagno, $this->ind1, $this->ind2, $this->subfields);
}
}