Draws the section for page coming in.
drawSections($pageIn, $pageNum)
Parameters | |
| PageIn | Page object for inserting pre-existing page information appropriately |
| PageNum | Page number of incoming page |
Draws new style page sections (text based blackboards).
drawSectionsNew($pageIn, $pageNum)
Parameters | |
| PageIn | PageObject that is being drawn |
| PageNum | Page number of pageObject that is being drawn |
Draw old style page sections (image based blackboards).
drawSectionsOld($pageIn, $pageNum)
Parameters | |
| PageIn | PageObject section is being drawn for |
| PageNum | Page number of pageObject being drawn |
Draws top section containing book information such as title, unit, cover_image.
drawBookInformation($bookIn)
Parameters | |
| BookIn | BookObject info is being drawn for |
Draws form to confirm user wants to delete book.
drawConfirmDeleteBook($bookIn)
Parameters | |
| BookIn | BookObject to be deleted from db |
Checks to make sure user has permission to edit content.
hasPermissionToEdit($userObject, $bookObject)
Parameters | |
| UserObject | User permissions are being checked for |
| BookObject | BookObject user wants to edit |