Interface IPortalSettingsController
Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke.dll
Syntax
public interface IPortalSettingsController
Methods
| Improve this Doc View SourceConfigureActiveTab(PortalSettings)
Declaration
void ConfigureActiveTab(PortalSettings portalSetting)
Parameters
| Type | Name | Description |
|---|---|---|
| PortalSettings | portalSetting |
GetActiveTab(Int32, PortalSettings)
The GetActiveTab method gets the active Tab for the current request.
Declaration
TabInfo GetActiveTab(int tabId, PortalSettings portalSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tabId | The current tab's id. |
| PortalSettings | portalSettings | The current PortalSettings. |
Returns
| Type | Description |
|---|---|
| TabInfo | The TabInfo instance or null. |
GetPortalAliasMappingMode(Int32)
Declaration
PortalSettings.PortalAliasMapping GetPortalAliasMappingMode(int portalId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | portalId |
Returns
| Type | Description |
|---|---|
| PortalSettings.PortalAliasMapping |
GetTabModules(PortalSettings)
The GetTabModules method gets the list of modules for the active Tab.
Declaration
IList<ModuleInfo> GetTabModules(PortalSettings portalSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| PortalSettings | portalSettings | The current PortalSettings. |
Returns
| Type | Description |
|---|---|
| IList<ModuleInfo> | An |
LoadPortal(PortalInfo, PortalSettings)
The LoadPortal method loads the properties of the portal object into the Portal Settings.
Declaration
void LoadPortal(PortalInfo portal, PortalSettings portalSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| PortalInfo | portal | The Portal object. |
| PortalSettings | portalSettings | The Portal Settings object. |
LoadPortalSettings(PortalSettings)
The LoadPortalSettings method loads the settings into the Portal Settings.
Declaration
void LoadPortalSettings(PortalSettings portalSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| PortalSettings | portalSettings | The Portal Settings object. |