book.module

Version

1.361.2.14 (checked in on 2006/12/01 at 10:11:36 by killes)

Description

Allows users to collaboratively author a book.

Functions

Namesort iconDescription
book_accessImplementation of hook_access().
book_adminMenu callback; displays the book administration page.
book_admin_editDisplay an administrative view of the hierarchy of a book.
book_admin_edit_submit
book_admin_orphanMenu callback; displays a listing of all orphaned book pages.
book_admin_overviewReturns an administrative overview of all books.
book_blockImplementation of hook_block().
book_contentReturns the content of a given node. If $teaser if true, returns the teaser rather than full content. Displays the most recently approved revision of a node (if any) unless we have to display this page in the context of the moderation queue.
book_deleteImplementation of hook_delete().
book_exportMenu callback; Generates various representation of a book page with all descendants and prints the requested representation to output.
book_export_htmlThis function is called by book_export() to generate HTML for export.
book_formImplementation of hook_form().
book_helpImplementation of hook_help().
book_insertImplementation of hook_insert().
book_linkImplementation of hook_link().
book_loadImplementation of hook_load().
book_locationGiven a node, this function returns an array of 'book node' objects representing the path in the book tree from the root to the parent of the given node.
book_location_downGiven a node, this function returns an array of 'book node' objects representing the path in the book tree from the given node down to the last sibling of it.
book_menuImplementation of hook_menu().
book_nextFetches the node object of the next page of the book.
book_nodeapiImplementation of hook_nodeapi().
book_node_infoImplementation of hook_node_info().
book_node_visitor_html_postFinishes up generation of printer-friendly HTML after visiting a node. This function is a 'post-node' visitor function for book_recurse().
book_node_visitor_html_preGenerates printer-friendly HTML for a node. This function is a 'pre-node' visitor function for book_recurse().
book_outlineImplementation of function book_outline() Handles all book outline operations.
book_outline_submitHandles book outline form submissions.
book_permImplementation of hook_perm().
book_prevFetches the node object of the previous page of the book.
book_recurseTraverses the book tree. Applies the $visit_pre() callback to each node, is called recursively for each child of the node (in weight, title order). Finally appends the output of the $visit_post() callback to the output before returning the generated...
book_renderMenu callback; prints a listing of all books.
book_submitImplementation of hook_submit().
book_tocReturns an array of titles and nid entries of book pages in table of contents order.
book_toc_recurseThis is a helper function for book_toc().
book_treeReturns an HTML nested list (wrapped in a menu-class div) representing the book nodes as a tree.
book_tree_recurseThis is a helper function for book_tree()
book_updateImplementation of hook_update().
book_viewImplementation of hook_view().
theme_book_admin_table
theme_book_export_htmlHow the book's HTML export should be themed
theme_book_navigationPrepares the links to children (TOC) and forward/backward navigation for a node presented as a book page.
_book_admin_table
_book_admin_table_tree
 
 

Drupal is a registered trademark of Dries Buytaert.