public function Field::make_clone in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Field::make_clone()
- 6 marcParse/php-marc.php \Field::make_clone()
- 7.2 modules/marcParse/php-marc.php \Field::make_clone()
Clone Field.
Return value
File
- modules/
marcParse/ php-marc.php, line 1034 - @package PHP-MARC
Class
- Field
- Field Class Create a MARC Field object.
Code
public 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);
}
}