C# Class SobekCM.Core.ApplicationState.Portal

Mostrar archivo Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

Add_Possible_Aggregation() public method

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
return void

Add_Possible_Web_Skin() public method

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
return void

Is_Possible_Aggregation() public method

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
return bool

Is_Possible_Web_Skin() public method

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
return bool

Portal() public method

Constructor for a new instance of the Portal class
Empty constructor for serialization purposes
public Portal ( ) : System
return System

Portal() public method

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
return System