function tripal_get_remote_pub_raw_page
2.x tripal_pub.module | tripal_get_remote_pub_raw_page($dbxref) |
3.x tripal_pub.module | tripal_get_remote_pub_raw_page($dbxref) |
A simple wrapper function to put <pre> tags around the raw results returned by the
Parameters
unknown $dbxref:
Return value
string
1 string reference to 'tripal_get_remote_pub_raw_page'
- tripal_chado_menu in tripal_chado/
tripal_chado.module - Implements hook_menu().
File
- legacy/
tripal_pub/ tripal_pub.module, line 359 - Basic functionality of the pub module
Code
function tripal_get_remote_pub_raw_page($dbxref) {
$pub = tripal_get_remote_pub($dbxref);
if ($pub) {
$page = "<strong>Raw results for $dbxref:</strong><br><br>";
$page .= '<textarea cols=80 rows=20>' . $pub['raw'] . '</textarea>';
return $page;
}
return "Cound not find the requested publication ($dbxref)";
}