function book_menu_name

7.x book.module book_menu_name($bid)
6.x book.module book_menu_name($bid)

Generate the corresponding menu name from a book ID.

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

File

drupal-6.x/modules/book/book.module, line 612
Allows users to structure the pages of a site in a hierarchy or outline.

Code

function book_menu_name($bid) {
  return 'book-toc-' . $bid;
}