File: stories/createstory.php

Return to Documentation

drawSections (2)
drawSectionsNew (3)
drawSectionsOld (4)
drawBookInformation (5)
drawConfirmDeleteBook (6)
hasPermissionToEdit (7)

drawSections

Author: Brad
Version: 04.25.05

Description

Draws the section for page coming in.

Example

drawSections($pageIn, $pageNum)

Parameters

PageInPage object for inserting pre-existing page information appropriately
PageNumPage number of incoming page

Top

drawSectionsNew

Author: Brad
Version: 04.25.05

Description

Draws new style page sections (text based blackboards).

Example

drawSectionsNew($pageIn, $pageNum)

Parameters

PageInPageObject that is being drawn
PageNumPage number of pageObject that is being drawn

Top

drawSectionsOld

Author: Brad
Version: 04.25.05

Description

Draw old style page sections (image based blackboards).

Example

drawSectionsOld($pageIn, $pageNum)

Parameters

PageInPageObject section is being drawn for
PageNumPage number of pageObject being drawn

Top

drawBookInformation

Author: Brad
Version: 04.25.05

Description

Draws top section containing book information such as title, unit, cover_image.

Example

drawBookInformation($bookIn)

Parameters

BookInBookObject info is being drawn for

Top

drawConfirmDeleteBook

Author: Brad
Version: 04.25.05

Description

Draws form to confirm user wants to delete book.

Example

drawConfirmDeleteBook($bookIn)

Parameters

BookInBookObject to be deleted from db

Top

hasPermissionToEdit

Author: Brad
Version: 04.25.05

Description

Checks to make sure user has permission to edit content.

Example

hasPermissionToEdit($userObject, $bookObject)

Parameters

UserObjectUser permissions are being checked for
BookObjectBookObject user wants to edit

Top