function tripal_pub_PMID_count
1.x PMID.inc | tripal_pub_PMID_count($search_array) |
1 string reference to 'tripal_pub_PMID_count'
- tripal_pub_remote_search_PMID in tripal_pub/
includes/ importers/ PMID.inc
File
- tripal_pub/
includes/ importers/ PMID.inc, line 131 - Tripal Pub PubMed Interface
Code
function tripal_pub_PMID_count($search_array) {
$search_str = $search_array['search_string'];
$limit = $search_array['limit'];
$results = tripal_pub_PMID_search_init($search_str, $limit);
$_SESSION['tripal_pub_PMID_query'][$search_str]['Count'] = $results['Count'];
$_SESSION['tripal_pub_PMID_query'][$search_str]['WebEnv'] = $results['WebEnv'];
$_SESSION['tripal_pub_PMID_query'][$search_str]['QueryKey'] = $results['QueryKey'];
return $results['Count'];
}