Метод | Описание | |
---|---|---|
Clear ( ) : void |
Clears the dictionaries of item viewer prototypes, used when the cache is reset either manually or automatically
|
|
Configure_Brief_Item_Viewers ( BriefItemInfo BriefItem ) : void |
Configure the viewers for a single brief item to match this user interface settings
|
|
Get_Item_Viewer ( BriefItemInfo CurrentItem, string ViewerCode ) : iItemViewerPrototyper |
Gets the appropriate item viewer prototyper ( SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority ) class for an individual item, based on the requested viewer code
|
|
Get_Viewer_By_ViewType ( string ViewType ) : iItemViewerPrototyper |
Accepts a view type (string) from the digital resource object and returns the appropriate item viewer object which extends the SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority class for rendering items to the web via HTML.
|
|
Get_Viewer_By_ViewerCode ( string ViewerCode ) : iItemViewerPrototyper |
Accepts a viewer code (string) from the digital resource object and returns the appropriate item viewer object which extends the SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority class for rendering items to the web via HTML.
|
|
ViewCode_From_ViewType ( string ViewType ) : string |
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
|
|
ViewType_From_ViewerCode ( string ViewerCode ) : string |
Gets the standard viewer type from a viewer code, or NULL if the current instance doesn't support that viewer code
|
Метод | Описание | |
---|---|---|
configureItemViewers ( ) : void | ||
configurePrototyper ( string assembly, string className ) : iItemViewerPrototyper |
public static Configure_Brief_Item_Viewers ( BriefItemInfo BriefItem ) : void | ||
BriefItem | BriefItemInfo | Brief item to adjust selected viewers |
Результат | void |
public static Get_Item_Viewer ( BriefItemInfo CurrentItem, string ViewerCode ) : iItemViewerPrototyper | ||
CurrentItem | BriefItemInfo | The current item. |
ViewerCode | string | The viewer code. |
Результат | iItemViewerPrototyper |
public static Get_Viewer_By_ViewType ( string ViewType ) : iItemViewerPrototyper | ||
ViewType | string | Viewer code to retrieve |
Результат | iItemViewerPrototyper |
public static Get_Viewer_By_ViewerCode ( string ViewerCode ) : iItemViewerPrototyper | ||
ViewerCode | string | Viewer code to retrieve |
Результат | iItemViewerPrototyper |
public static ViewCode_From_ViewType ( string ViewType ) : string | ||
ViewType | string | Standard type of the viewer to find |
Результат | string |
public static ViewType_From_ViewerCode ( string ViewerCode ) : string | ||
ViewerCode | string | Viewer code to look for viewer |
Результат | string |