function tripal_import_pub_by_dbxref

2.x tripal_pub.pub_importers.inc tripal_import_pub_by_dbxref($pub_dbxref, $do_contact = FALSE, $do_update)
3.x tripal_chado.module.DEPRECATED.api.inc tripal_import_pub_by_dbxref($pub_dbxref, $do_contact = false, $do_update = true)

Imports a singe publication specified by a remote database cross reference.

Parameters

$pub_dbxref: The unique database ID for the record to update. This value must be of the format DB_NAME:ACCESSION where DB_NAME is the name of the database (e.g. PMID or AGL) and the ACCESSION is the unique identifier for the record in the database.

$do_contact: Set to TRUE if authors should automatically have a contact record added to Chado.

$do_update: If set to TRUE then the publication will be updated if it already exists in the database.

1 call to tripal_import_pub_by_dbxref()

File

tripal_chado/api/modules/tripal_chado.module.DEPRECATED.api.inc, line 1351
These api functions are deprecated, if your site is currently using them please update your code with the newer tripal_chado functions.

Code

function tripal_import_pub_by_dbxref($pub_dbxref, $do_contact = false, $do_update = true) {
  chado_import_pub_by_dbxref($pub_dbxref, $do_contact, $do_update);
}