C# Класс SobekCM.Core.ApplicationState.Portal

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Add_Possible_Aggregation ( string Aggregation_Code ) : void

Adds a web skin code to the list of possible web skins that can be displayed through this portal

Add_Possible_Web_Skin ( string Web_Skin_Code ) : void

Adds a web skin code to the list of possible web skins that can be displayed through this portal

Is_Possible_Aggregation ( string Aggregation_Code ) : bool

Flag indicates if the provided aggregation code is permitted within this portal

Is_Possible_Web_Skin ( string Web_Skin_Code ) : bool

Flag indicates if the provided web skin code is permitted within this portal

Portal ( ) : System

Constructor for a new instance of the Portal class

Empty constructor for serialization purposes

Portal ( int ID, string Name, string Abbreviation, string Default_Aggregation, string Default_Web_Skin, string URL_Segment, string Base_PURL ) : System

Constructor for a new instance of the Portal class

Описание методов

Add_Possible_Aggregation() публичный Метод

Adds a web skin code to the list of possible web skins that can be displayed through this portal
public Add_Possible_Aggregation ( string Aggregation_Code ) : void
Aggregation_Code string New web skin code to add
Результат void

Add_Possible_Web_Skin() публичный Метод

Adds a web skin code to the list of possible web skins that can be displayed through this portal
public Add_Possible_Web_Skin ( string Web_Skin_Code ) : void
Web_Skin_Code string New web skin code to add
Результат void

Is_Possible_Aggregation() публичный Метод

Flag indicates if the provided aggregation code is permitted within this portal
public Is_Possible_Aggregation ( string Aggregation_Code ) : bool
Aggregation_Code string Aggregation code to check
Результат bool

Is_Possible_Web_Skin() публичный Метод

Flag indicates if the provided web skin code is permitted within this portal
public Is_Possible_Web_Skin ( string Web_Skin_Code ) : bool
Web_Skin_Code string Web skin code to check
Результат bool

Portal() публичный Метод

Constructor for a new instance of the Portal class
Empty constructor for serialization purposes
public Portal ( ) : System
Результат System

Portal() публичный Метод

Constructor for a new instance of the Portal class
public Portal ( int ID, string Name, string Abbreviation, string Default_Aggregation, string Default_Web_Skin, string URL_Segment, string Base_PURL ) : System
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
Результат System