book.module

Version 1.525 (checked in on 2009/11/18 at 18:51:11 by dries)

Allows users to create and organize related content in an outline.

Functions

NameDescription
book_block_configureImplement hook_block_configure().
book_block_infoImplement hook_block_info().
book_block_saveImplement hook_block_save().
book_block_viewImplement hook_block_view().
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_field_build_modesImplement hook_field_build_modes().
book_form_alterImplement hook_form_alter().
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_helpImplement hook_help().
book_initImplement hook_init().
book_link_loadLike menu_link_load(), but adds additional data from the {book} table.
book_menuImplement 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_node_deleteImplement hook_node_delete().
book_node_exportGenerates printer-friendly HTML for a node.
book_node_insertImplement hook_node_insert().
book_node_loadImplement hook_node_load().
book_node_prepareImplement hook_node_prepare().
book_node_presaveImplement hook_node_presave().
book_node_type_updateImplement hook_node_type_update().
book_node_updateImplement hook_node_update().
book_node_viewImplement hook_node_view().
book_node_view_linkInject links into $node as needed.
book_page_alterImplement hook_page_alter().
book_permissionImplement hook_permission().
book_prevFetches the menu link for the previous page of the book.
book_themeImplement 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_all_books_blockProcess variables for book-all-books-block.tpl.php.
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.
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.