C# Class Christoc.Modules.DnnChat.Settings

The Settings class manages Module Settings Typically your settings control would be used to manage settings for your module. There are two types of settings, ModuleSettings, and TabModuleSettings. ModuleSettings apply to all "copies" of a module on a site, no matter which page the module is on. TabModuleSettings apply only to the current module on the current page, if you copy that module to another page the settings are not transferred. If you happen to save both TabModuleSettings and ModuleSettings, TabModuleSettings overrides ModuleSettings. Below we have some examples of how to access these settings but you will need to uncomment to use. Because the control inherits from DnnChatSettingsBase you have access to any custom properties defined there, as well as properties from DNN such as PortalId, ModuleId, TabId, UserId and many more.
Inheritance: DnnChatModuleSettingsBase
Afficher le fichier Open project: ChrisHammond/dnnCHAT

Méthodes publiques

Méthode Description
LoadSettings ( ) : void

LoadSettings loads the settings from the Database and displays them

UpdateSettings ( ) : void

UpdateSettings saves the modified settings to the Database

Method Details

LoadSettings() public méthode

LoadSettings loads the settings from the Database and displays them
public LoadSettings ( ) : void
Résultat void

UpdateSettings() public méthode

UpdateSettings saves the modified settings to the Database
public UpdateSettings ( ) : void
Résultat void