Downloads_ItemViewer_Prototyper Class
Downloads viewer prototyper, which is used to check to see if there are downloads to display,
to create the link in the main menu, and to create the viewer itself if the user selects that option
Namespace: SobekCM.Library.ItemViewer.ViewersAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public class Downloads_ItemViewer_Prototyper : iItemViewerPrototyper |
Inheritance Hierarchy
System..::..Object SobekCM.Library.ItemViewer.Viewers..::..Downloads_ItemViewer_Prototyper
Constructors
Methods
| Name | 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 Downloads_ItemViewer class for showing the list of
downloads linked to a digital resource during execution of a single HTTP request. |
 | 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 |
Properties
| Name | Description |
---|
 | FileExtensions | If this viewer is tied to certain files existing in the digital resource, this lists all the
possible file extensions this supports (from the configuration file usually) |
 | ViewerCode | Code for this viewer, which can also be set from the configuration information |
 | ViewerType | Name of this viewer, which matches the viewer name from the database and
in the configuration files as well. This is actually populate by the configuration information |
See Also