You are here

API.txt in Book access 6.2

Same filename and directory in other branches
  1. 7.2 API.txt
  2. 1.x API.txt
# This files reports the API changes, and in which versions has been done.
#

VERSION 2.2
-----------

- The functions book_access_api(), book_access_author_add(),
  book_access_author_records(), book_access_role_add(),
  book_access_grant_check(), book_access_role_records(),
  book_access_user_add(), book_access_user_books_list(),
  book_access_user_records() have been added.

VERSION 2.3
-----------

- The function book_access_api() has been replaced by BookAccess::api().
- The function book_access_author_add() has been replaced by
  BookAccess::addAuthorGrants().
- The functions book_access_author_records(), book_access_role_records(), and
  book_access_user_records() have been replaced by
  BookAccess::getGrantRecords().
- The function book_access_grant_check() has been replaced by
  BookAccess::checkGrant().
- The function _book_access_options_restrict() has been replaced by
  BookAccess::restrictOptions().
- The function book_access_role_add() has been replaced by
  BookAccess::addRoleGrants().
- The function book_access_user_add() has been replaced by
  BookAccess::addUserGrants().
- The function book_access_books_list() has been replaced by
  BookAccess::getBookList().
- The methods BookAccess::deleteGrants(), BookAccess::getAuthorGrants(),
  BookAccess::getRoleGrants(), BookAccess::getUserGrants(),
  BookAccess::grantIDs(), BookAccess::updateGrants(), and
  BookAccess::writeGrantRecords() have been added.

VERSION 2.4
-----------

- The arguments for BookAccess::getBookList() has been swapped.

File

API.txt
View source
  1. # This files reports the API changes, and in which versions has been done.
  2. #
  3. VERSION 2.2
  4. -----------
  5. - The functions book_access_api(), book_access_author_add(),
  6. book_access_author_records(), book_access_role_add(),
  7. book_access_grant_check(), book_access_role_records(),
  8. book_access_user_add(), book_access_user_books_list(),
  9. book_access_user_records() have been added.
  10. VERSION 2.3
  11. -----------
  12. - The function book_access_api() has been replaced by BookAccess::api().
  13. - The function book_access_author_add() has been replaced by
  14. BookAccess::addAuthorGrants().
  15. - The functions book_access_author_records(), book_access_role_records(), and
  16. book_access_user_records() have been replaced by
  17. BookAccess::getGrantRecords().
  18. - The function book_access_grant_check() has been replaced by
  19. BookAccess::checkGrant().
  20. - The function _book_access_options_restrict() has been replaced by
  21. BookAccess::restrictOptions().
  22. - The function book_access_role_add() has been replaced by
  23. BookAccess::addRoleGrants().
  24. - The function book_access_user_add() has been replaced by
  25. BookAccess::addUserGrants().
  26. - The function book_access_books_list() has been replaced by
  27. BookAccess::getBookList().
  28. - The methods BookAccess::deleteGrants(), BookAccess::getAuthorGrants(),
  29. BookAccess::getRoleGrants(), BookAccess::getUserGrants(),
  30. BookAccess::grantIDs(), BookAccess::updateGrants(), and
  31. BookAccess::writeGrantRecords() have been added.
  32. VERSION 2.4
  33. -----------
  34. - The arguments for BookAccess::getBookList() has been swapped.