You are here

function _book_copy_get_book_history in Book Copy 7

Same name and namespace in other branches
  1. 6 book_copy.module \_book_copy_get_book_history()

Render the data tree for display on the book history page.

1 call to _book_copy_get_book_history()
book_copy_show_history in ./book_copy.module
This function while being very small is doing quite a bit, describe what it's doing This is also a page callback for 'book_copy/history/%node' so indicate it's a Callback function in the commment

File

./book_copy.module, line 269

Code

function _book_copy_get_book_history($bid) {
  $return[$bid] = array();
  $return[$bid]['copied'] = 0;
  $return[$bid]['children'] = _book_copy_tree($bid);
  return $return;
}