book_load

Versions
4.6 – 4.7
book_load($node)

Implementation of hook_load().

Code

modules/book.module, line 162

<?php
function book_load($node) {
  $book = db_fetch_object(db_query('SELECT parent, weight, log FROM {book} WHERE nid = %d', $node->nid));
  return $book;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.