\LibrarianHelper
- Author: Hudhaifa Shatnawi <hudhaifa.shatnawi@gmail.com>
Synopsis
class LibrarianHelper
{
- // members
- private static array $groups = ;
- private static integer $libraryID = 1310;
- private static integer $patronID = 2;
- private static integer $bookID = 3;
- // methods
- public static type is_librarian()
- public static ArrayList get_catalog_books()
- public static void get_overdue()
- public static void lend_book()
- public static void return_book()
- public static void search_catalog()
- public static void search_books()
- public static void search_all_books()
- public static type generate_barcode()
Tasks
Line | Task |
---|---|
221 | This should be auto-detected |
Members
private
- $bookID
- $groups
- $libraryID
- $patronID
Methods
public
- generate_barcode() — Generates a barcode image
- get_catalog_books() — Returns all books volumes listed in a catalog
- get_overdue()
- is_librarian() — Checks if the given member is allowed to access the Library module
- lend_book()
- return_book()
- search_all_books()
- search_books()
- search_catalog()