You are here

function biblio_crossref_check_doi in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/crossref/biblio_crossref.module \biblio_crossref_check_doi()
  2. 7.2 modules/crossref/biblio_crossref.module \biblio_crossref_check_doi()
1 call to biblio_crossref_check_doi()
biblio_crossref_form_biblio_node_form_submit in modules/crossref/biblio_crossref.module

File

modules/crossref/biblio_crossref.module, line 104

Code

function biblio_crossref_check_doi($doi) {
  return db_query("SELECT nid FROM {biblio_crossref} WHERE biblio_crossref_id = :doi", array(
    ':doi' => $doi,
  ))
    ->fetchField();
}