C# 클래스 SobekCM.Core.ApplicationState.Portal_List

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add_Portal ( int ID, string Name, string Abbreviation, string Default_Aggregation, string Default_Web_Skin, string URL_Segment, string Base_PURL ) : Portal

Create and add a new portal to this collection URL portals

Clear ( ) : void

Clears the list of all URL Portals into this library / cms

Get_Valid_Portal ( string Base_URL ) : Portal

Gets the URL portal for the current request, by the base url for the current request

Portal_List ( ) : System

Constructor for a new instance of the Portal_List class

메소드 상세

Add_Portal() 공개 메소드

Create and add a new portal to this collection URL portals
public Add_Portal ( int ID, string Name, string Abbreviation, string Default_Aggregation, string Default_Web_Skin, string URL_Segment, string Base_PURL ) : Portal
ID int Primary key for this portal in the database
Name string Name for the library when viewed through this portal
Abbreviation string Abbreviation used for the library when viewed through this portal
Default_Aggregation string Default aggregation, or 'all' if all aggregationPermissions are available
Default_Web_Skin string Default web skin used when displayed through this portal
URL_Segment string URL segment used to determine if a request comes from this portal
Base_PURL string Base PURL to used when constructing a PURL for items within this portal, if it is different than the standard base URL
리턴 Portal

Clear() 공개 메소드

Clears the list of all URL Portals into this library / cms
public Clear ( ) : void
리턴 void

Get_Valid_Portal() 공개 메소드

Gets the URL portal for the current request, by the base url for the current request
public Get_Valid_Portal ( string Base_URL ) : Portal
Base_URL string Base URL for the current request against this library
리턴 Portal

Portal_List() 공개 메소드

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