book_menu_name

Versions
6 – 7
book_menu_name($bid)

Generate the corresponding menu name from a book ID.

▾ 4 functions call book_menu_name()

book_nodeapi in modules/book/book.module
Implementation of hook_nodeapi().
book_outline_form_submit in modules/book/book.pages.inc
Handles book outline form submissions from the outline tab.
book_toc in modules/book/book.module
Returns an array of book pages in table of contents order.
_book_update_outline in modules/book/book.module
Common helper function to handles additions and updates to the book outline.

Code

modules/book/book.module, line 612

<?php
function book_menu_name($bid) {
  return 'book-toc-'. $bid;
}
?>
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.