• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PortalSettingsController

Inheritance
System.Object
PortalSettingsController
Implements
IPortalSettingsController
Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke.dll
Syntax
public class PortalSettingsController : object, IPortalSettingsController

Methods

| Improve this Doc View Source

ConfigureActiveTab(PortalSettings)

Declaration
public virtual void ConfigureActiveTab(PortalSettings portalSettings)
Parameters
Type Name Description
PortalSettings portalSettings
| Improve this Doc View Source

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.

| Improve this Doc View Source

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>
| Improve this Doc View Source

GetPortalAliasMappingMode(Int32)

Declaration
public virtual PortalSettings.PortalAliasMapping GetPortalAliasMappingMode(int portalId)
Parameters
Type Name Description
System.Int32 portalId
Returns
Type Description
PortalSettings.PortalAliasMapping
| Improve this Doc View Source

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 of ModuleInfo instances.

| Improve this Doc View Source

Instance()

Declaration
public static IPortalSettingsController Instance()
Returns
Type Description
IPortalSettingsController
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

UpdateSkinSettings(TabInfo, PortalSettings)

Declaration
protected virtual void UpdateSkinSettings(TabInfo activeTab, PortalSettings portalSettings)
Parameters
Type Name Description
TabInfo activeTab
PortalSettings portalSettings

Implements

IPortalSettingsController

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS