book_export
function book_export
book_export($type, $nid)
Menu callback; Generates representations of a book page and its children.
The function delegates the generation of output to helper functions. The function name is derived by prepending 'book_export_' to the given output type. So, e.g., a type of 'html' results in a call to the function book_export_html().
Parameters
$type: A string encoding the type of output requested. The following types are currently supported in book module:
- html: Printer-friendly HTML.
Other types may be supported in contributed modules.
$nid: An integer representing the node id (nid) of the node to export