function biblio_view_node in Bibliography Module 6.2
Same name and namespace in other branches
- 6 biblio.pages.inc \biblio_view_node()
- 7 includes/biblio.pages.inc \biblio_view_node()
- 7.2 includes/biblio.pages.inc \biblio_view_node()
Redirects the page display to that of the specified node ID.
Parameters
integer $nid: Integer ID of the node which the page request will be changed to view.
1 string reference to 'biblio_view_node'
- biblio_menu in ./
biblio.module - Implements hook_menu().
File
- includes/
biblio.pages.inc, line 13 - Functions in the biblio module related to filtering and page generation.
Code
function biblio_view_node($nid) {
drupal_goto('node/' . (int) $nid, NULL, NULL, 301);
// set a 301 response code
}