mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Library >> ItemViewer >> ItemViewer_Factory

ItemViewer_Factory Class



Static class is a factory that generates and returns the requested item viewer object which implements the iItemViewer interface.


Namespace: SobekCM.Library.ItemViewer
Assembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public static class ItemViewer_Factory

Inheritance Hierarchy

System..::..Object
  SobekCM.Library.ItemViewer..::..ItemViewer_Factory

Methods

  NameDescription
Public methodStatic memberConfigure_ItemViewers
Public methodStatic memberGet_Viewer
Accepts a simple View_Object from the digital resource object and returns the appropriate item viewer object which extends the [!:SobekCM.Library.ItemViewer.Viewers.abstractItemViewer_OLD] class for rendering the item to the web via HTML.
Public methodStatic memberViewCode_From_ViewType
Gets the viewer code (used in URLs and such) for a specific view type, or NULL if the current instance doesn't support that viewer type
Public methodStatic memberViewType_From_ViewCode
Gets the standard viewer type from a viewer code, or NULL if the current instance doesn't support that viewer code

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )