book_menu_name

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 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 613

<?php
function book_menu_name($bid) {
  return 'book-toc-' . $bid;
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen