C# 클래스 SobekCM.Core.Settings.DbItemViewers.DbItemViewerTypes

파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add_ViewerType ( int ID, string ViewType, int Order, bool DefaultView, decimal MenuOrder ) : void

Adds a new item viewer config, from the database, to the list of possible item viewers

DbItemViewerTypes ( ) : System

Constructor for a new instance of the DbItemViewerTypes class

Get_ViewerType ( string ViewerCode ) : DbItemViewerType

Get the viewer code information from the database, by viewer code

메소드 상세

Add_ViewerType() 공개 메소드

Adds a new item viewer config, from the database, to the list of possible item viewers
public Add_ViewerType ( int ID, string ViewType, int Order, bool DefaultView, decimal MenuOrder ) : void
ID int Primary key to this item viewer from the database which is used /// to link an item, in the database, to this viewer
ViewType string Code for this view type, which is returned with each digital resource /// and links, via the UI configuration, to the class used to display this item /// within the user interface
Order int Default order, relative to the order on the other item viewers, that this /// should be displayed
DefaultView bool Flag indicates if this view should be automatically added to all new items /// that are added to the database
MenuOrder decimal Default order this viewer should be displayed on the item viewer menu
리턴 void

DbItemViewerTypes() 공개 메소드

Constructor for a new instance of the DbItemViewerTypes class
public DbItemViewerTypes ( ) : System
리턴 System

Get_ViewerType() 공개 메소드

Get the viewer code information from the database, by viewer code
public Get_ViewerType ( string ViewerCode ) : DbItemViewerType
ViewerCode string The viewer code.
리턴 DbItemViewerType