Interface IModuleController
Do not implement. This interface is only implemented by the DotNetNuke core framework. Outside the framework it should used as a type and for unit test purposes only. There is no guarantee that this interface will not change.
Namespace: DotNetNuke.Entities.Modules.Internal
Assembly: DotNetNuke.dll
Syntax
public interface IModuleController
Methods
| Improve this Doc View SourceGetModule(Int32, Int32)
Gets the module.
Declaration
ModuleInfo GetModule(int moduleId, int tabId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId | The module ID. |
System.Int32 | tabId | The tab ID. |
Returns
Type | Description |
---|---|
ModuleInfo | module info. |
UpdateModuleSetting(Int32, String, String)
Adds or updates a module's setting value.
Declaration
void UpdateModuleSetting(int moduleId, string settingName, string settingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId | ID of the tabmodule, the setting belongs to. |
System.String | settingName | name of the setting property. |
System.String | settingValue | value of the setting (String). |
Remarks
Empty SettingValue will remove the setting.
UpdateTabModuleSetting(Int32, String, String)
Adds or updates a tab module's setting value.
Declaration
void UpdateTabModuleSetting(int tabModuleId, string settingName, string settingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabModuleId | ID of the tabmodule, the setting belongs to. |
System.String | settingName | name of the setting property. |
System.String | settingValue | value of the setting (String). |
Remarks
Empty SettingValue will remove the setting.