C# Class SobekCM.Core.ApplicationState.Portal_List

Exibir arquivo Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Method Details

Add_Portal() public method

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

Clear() public method

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

Get_Valid_Portal() public method

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

Portal_List() public method

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