$biblio->setCallNmbr3($entry); break; default: if (preg_match('/^[0-9][0-9]*\\$[a-z]$/', $target)) { $tag = explode('$', $target); $f = new BiblioField(); $f->setTag($tag[0]); $f->setSubfieldCd($tag[1]); $f->setFieldData($entry); $biblio->addBiblioField($tag[0] . $tag[1], $f); } break; } } // Display the biblio. Don't keep it in a array due to memory reasons. $validate = $biblio->validateData(); // Check for uniqueness with existing barcodes and new entries read. if ($barcode != "") { if (in_array($barcode, $newBarcodes)) { array_push($localErrors, $copy->_loc->getText("biblioCopyQueryErr1")); $validate = false; } // push new barcode into validation array after validation to each the check. array_push($newBarcodes, $barcode); if (!$copy->validateData()) { $validate = false; } } // Check for mandatory entries foreach ($mandatoryCols as $col => $seen) { if (!$seen) {