Class PortalSettingsController
Inheritance
System.Object
PortalSettingsController
Implements
Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke.dll
Syntax
public class PortalSettingsController : object, IPortalSettingsController
Methods
| Improve this Doc View SourceConfigureActiveTab(PortalSettings)
Declaration
public virtual void ConfigureActiveTab(PortalSettings portalSettings)
Parameters
Type | Name | Description |
---|---|---|
PortalSettings | portalSettings |
GetActiveTab(Int32, PortalSettings)
The GetActiveTab method gets the active Tab for the current request.
Declaration
public virtual 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. |
GetBreadcrumbs(Int32, Int32)
Declaration
protected List<TabInfo> GetBreadcrumbs(int tabId, int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabId | |
System.Int32 | portalId |
Returns
Type | Description |
---|---|
List<TabInfo> |
GetPortalAliasMappingMode(Int32)
Declaration
public virtual 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
public virtual IList<ModuleInfo> GetTabModules(PortalSettings portalSettings)
Parameters
Type | Name | Description |
---|---|---|
PortalSettings | portalSettings | The current PortalSettings. |
Returns
Type | Description |
---|---|
IList<ModuleInfo> | An |
Instance()
Declaration
public static IPortalSettingsController Instance()
Returns
Type | Description |
---|---|
IPortalSettingsController |
LoadPortal(PortalInfo, PortalSettings)
The LoadPortal method loads the properties of the portal object into the Portal Settings.
Declaration
public virtual 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
public virtual void LoadPortalSettings(PortalSettings portalSettings)
Parameters
Type | Name | Description |
---|---|---|
PortalSettings | portalSettings | The Portal Settings object. |
UpdateSkinSettings(TabInfo, PortalSettings)
Declaration
protected virtual void UpdateSkinSettings(TabInfo activeTab, PortalSettings portalSettings)
Parameters
Type | Name | Description |
---|---|---|
TabInfo | activeTab | |
PortalSettings | portalSettings |