function tripal_reimport_publications

2.x tripal_pub.pub_importers.inc tripal_reimport_publications($do_contact = FALSE, $dbxref = NULL, $db = NULL)
3.x tripal_chado.module.DEPRECATED.api.inc tripal_reimport_publications($do_contact = false, $dbxref = null, $db = null)

Updates publication records.

Updates publication records that currently exist in the Chado pub table with the most recent data in the remote database.

Parameters

$do_contact: Set to TRUE if authors should automatically have a contact record added to Chado. Contacts are added using the name provided by the remote database.

$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.

$db: The name of the remote database to update. If this value is provided and no dbxref then all of the publications currently in the Chado database for this remote database will be updated.

File

tripal_chado/api/modules/tripal_chado.module.DEPRECATED.api.inc, line 1393
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_reimport_publications($do_contact = false, $dbxref = null, $db = null) {
  chado_reimport_publications($do_contact, $dbxref, $db);
}