Community Documentation

book_node_visitor_html_post

5 book.module book_node_visitor_html_post($node, $depth)

Finishes up generation of printer-friendly HTML after visiting a node. This function is a 'post-node' visitor function for book_recurse().

▾ 1 function calls book_node_visitor_html_post()

book_recurse in modules/book/book.module
Traverses 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…

File

modules/book/book.module, line 810
Allows users to collaboratively author a book.

Code

<?php
function book_node_visitor_html_post($node, $depth) {
  return "</div>\n";
}
?>
Login or register to post comments