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_pub_menu in tripal_pub/tripal_pub.module
Implements hook_menu().

File

tripal_pub/tripal_pub.module, line 453
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)";
}