Méthode | Description | |
---|---|---|
Add_Menu_items ( |
Gets the menu items related to this viewer that should be included on the main item (digital resource) menu
|
|
Create_Viewer ( |
Creates and returns the an instance of the GnuBooks_PageTurner_ItemViewer class for showing the digital resource as an online flip book within a Gnu library page turner interface This method is called whenever a request requires the actual viewer to be created to render the HTML for the digital resource requested. The created viewer is then destroyed at the end of the request |
|
GnuBooks_PageTurner_ItemViewer_Prototyper ( ) : System |
Constructor for a new instance of the GnuBooks_PageTurner_ItemViewer_Prototyper class
|
|
Has_Access ( |
Flag indicates if the current user has access to this viewer for the item
|
|
Include_Viewer ( |
Indicates if the specified item matches the basic requirements for this viewer, or if this viewer should be ignored for this item
|
|
Override_On_Checkout ( |
Flag indicates if this viewer should be override on checkout
|
public Add_Menu_items ( |
||
CurrentItem | Digital resource object, which can be used to ensure if and how this viewer should appear /// in the main item (digital resource) menu | |
CurrentUser | Current user, who may or may not be logged on | |
CurrentRequest | Information about the current request | |
MenuItems | List |
List of menu items, to which this method may add one or more menu items |
IpRestricted | bool | Flag indicates if this item is IP restricted AND if the current user is outside the ranges |
Résultat | void |
public Create_Viewer ( |
||
CurrentItem | Digital resource object | |
CurrentUser | Current user, who may or may not be logged on | |
CurrentRequest | Information about the current request | |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
Résultat | iItemViewer |
public GnuBooks_PageTurner_ItemViewer_Prototyper ( ) : System | ||
Résultat | System |
public Has_Access ( |
||
CurrentItem | Digital resource to see if the current user has correct permissions to use this viewer | |
CurrentUser | Current user, who may or may not be logged on | |
IpRestricted | bool | Flag indicates if this item is IP restricted AND if the current user is outside the ranges |
Résultat | bool |
public Include_Viewer ( |
||
CurrentItem | Digital resource to examine to see if this viewer really should be included | |
Résultat | bool |
public Override_On_Checkout ( |
||
CurrentItem | Digital resource to examine to see if this viewer should really be overriden | |
Résultat | bool |