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

Class TabModulesController

Inheritance
System.Object
ServiceLocator<ITabModulesController, TabModulesController>
TabModulesController
Implements
ITabModulesController
Inherited Members
ServiceLocator<ITabModulesController, TabModulesController>.Instance
ServiceLocator<ITabModulesController, TabModulesController>.Factory
ServiceLocator<ITabModulesController, TabModulesController>.SetTestableInstance(ITabModulesController)
ServiceLocator<ITabModulesController, TabModulesController>.ClearInstance()
ServiceLocator<ITabModulesController, TabModulesController>.GetFactory()
Namespace: DotNetNuke.Entities.Tabs
Assembly: DotNetNuke.dll
Syntax
public class TabModulesController : ServiceLocator<ITabModulesController, TabModulesController>, ITabModulesController

Methods

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<ITabModulesController> GetFactory()
Returns
Type Description
Func<ITabModulesController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Tabs.ITabModulesController, DotNetNuke.Entities.Tabs.TabModulesController>.GetFactory()
| Improve this Doc View Source

GetTabModuleIdsBySetting(String, String)

Gets a collection of all ID's of ModuleInfo that contains the setting name and specific value in its collection of settings.

Declaration
public IList<int> GetTabModuleIdsBySetting(string settingName, string expectedValue)
Parameters
Type Name Description
System.String settingName

Name of the setting to look for.

System.String expectedValue

Value of the setting to look for.

Returns
Type Description
IList<System.Int32>

An of tab module IDs.

| Improve this Doc View Source

GetTabModules(TabInfo)

Returns an array of Modules well configured to be used into a Skin.

Declaration
public ArrayList GetTabModules(TabInfo tab)
Parameters
Type Name Description
TabInfo tab

TabInfo object.

Returns
Type Description
ArrayList

An or ModuleInfo.

| Improve this Doc View Source

GetTabModuleSettingsByName(String)

Gets a collection of all setting values of ModuleInfo that contains the setting name in its collection of settings.

Declaration
public Dictionary<int, string> GetTabModuleSettingsByName(string settingName)
Parameters
Type Name Description
System.String settingName

Name of the setting to look for.

Returns
Type Description
Dictionary<System.Int32, System.String>

A with tab module ID as the key and setting value as the value.

Implements

ITabModulesController

Extension Methods

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