You are here

function _book_copy_get_book_history in Book Copy 6

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

This function calls the recursive _book_copy_tree() to build book history data

Parameters

int $bid the bookid to build book history for:

1 call to _book_copy_get_book_history()
book_copy_show_history in ./book_copy.module
Initial function to render a books copy history

File

./book_copy.module, line 356

Code

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