book.module

Version

1.454.2.5 (checked in on 2008/07/03 at 06:38:46 by dries)

Description

Allows users to structure the pages of a site in a hierarchy or outline.

Functions

Namesort iconDescription
book_blockImplementation of hook_block().
book_build_active_trailBuild an active trail to show in the breadcrumb.
book_childrenFormat the menu links for the child pages of the current page.
book_export_traverseTraverse the book tree to build printable or exportable output.
book_form_alterImplementation of hook_form_alter(). Adds the book fieldset to the node form. See alsobook_pick_book_submit()
book_form_node_delete_confirm_alterForm altering function for the confirm form for a single node deletion.
book_get_booksReturns an array of all books.
book_get_flat_menuGet the book menu tree for a page, and return it as a linear array.
book_helpImplementation of hook_help().
book_initImplementation of hook_init(). Add's the book module's CSS.
book_linkImplementation of hook_link().
book_link_loadLike menu_link_load(), but adds additional data from the {book} table.
book_menuImplementation of hook_menu().
book_menu_nameGenerate the corresponding menu name from a book ID.
book_menu_subtree_dataGet the data representing a subtree of the book hierarchy.
book_nextFetches the menu link for the next page of the book.
book_nodeapiImplementation of hook_nodeapi().
book_node_exportGenerates printer-friendly HTML for a node. See alsobook_export_traverse()
book_node_typeImplementation of hook_node_type().
book_permImplementation of hook_perm().
book_prevFetches the menu link for the previous page of the book.
book_themeImplementation of hook_theme()
book_tocReturns an array of book pages in table of contents order.
book_type_is_allowedDetermine if a given node type is in the list of types allowed for books.
book_update_bidUpdate the bid for a page and its children when it is moved to a new book.
template_preprocess_book_export_htmlProcess variables for book-export-html.tpl.php.
template_preprocess_book_navigationProcess variables for book-navigation.tpl.php.
template_preprocess_book_node_export_htmlProcess variables for book-node-export-html.tpl.php.
theme_book_title_linkGenerate the HTML output for a link to a book title when used as a block title.
_book_add_form_elementsBuild the common elements of the book form for the node and outline forms.
_book_flatten_menuRecursive helper function for book_get_flat_menu().
_book_link_defaultsReturn an array with default values for a book link.
_book_outline_accessMenu item access callback - determine if the outline tab is accessible.
_book_outline_remove_accessMenu item access callback - determine if the user can remove nodes from the outline.
_book_parent_depth_limitFind the depth limit for items in the parent select.
_book_parent_selectBuild the parent selection form element for the node form or outline tab
_book_toc_recurseA recursive helper function for book_toc().
_book_update_outlineCommon helper function to handles additions and updates to the book outline.
 
 

Drupal is a registered trademark of Dries Buytaert.