You are here

API.txt in Book access 1.x

Same filename and directory in other branches
  1. 6.2 API.txt
  2. 7.2 API.txt
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. VERSION 2.2
  2. -----------
  3. - The functions book_access_api(), book_access_author_add(),
  4. book_access_author_records(), book_access_role_add(),
  5. book_access_grant_check(), book_access_role_records(),
  6. book_access_user_add(), book_access_user_books_list(),
  7. book_access_user_records() have been added.
  8. VERSION 2.3
  9. -----------
  10. - The function book_access_api() has been replaced by BookAccess::api().
  11. - The function book_access_author_add() has been replaced by
  12. BookAccess::addAuthorGrants().
  13. - The functions book_access_author_records(), book_access_role_records(), and
  14. book_access_user_records() have been replaced by
  15. BookAccess::getGrantRecords().
  16. - The function book_access_grant_check() has been replaced by
  17. BookAccess::checkGrant().
  18. - The function _book_access_options_restrict() has been replaced by
  19. BookAccess::restrictOptions().
  20. - The function book_access_role_add() has been replaced by
  21. BookAccess::addRoleGrants().
  22. - The function book_access_user_add() has been replaced by
  23. BookAccess::addUserGrants().
  24. - The function book_access_books_list() has been replaced by
  25. BookAccess::getBookList().
  26. - The methods BookAccess::deleteGrants(), BookAccess::getAuthorGrants(),
  27. BookAccess::getRoleGrants(), BookAccess::getUserGrants(),
  28. BookAccess::grantIDs(), BookAccess::updateGrants(), and
  29. BookAccess::writeGrantRecords() have been added.
  30. VERSION 2.4
  31. -----------
  32. - The arguments for BookAccess::getBookList() has been swapped.