Class ActivitySettingsHelper
- Namespace
- CMS.Activities
- Assembly
- CMS.Activities.dll
Provides comfortable access to settings keys for activities.
public static class ActivitySettingsHelper
- Inheritance
-
objectActivitySettingsHelper
Methods
ActivitiesEnabled()
Returns true if activities logging is enabled.
public static bool ActivitiesEnabled()
Returns
- bool
ActivitiesEnabledAndModuleLoaded()
Returns true if global logging switch is enabled and online marketing module is loaded.
public static bool ActivitiesEnabledAndModuleLoaded()
Returns
- bool
GetLoggingEnabled(string, string)
Checks if specified activity logging is enabled.
public static bool GetLoggingEnabled(string keyname, string activityType)
Parameters
keyname
stringSettings key name of particular activity (e.g. "CMSCMPageVisits")
activityType
stringActivity type code name (e.g. PredefinedActivityType.PAGE_VISIT)
Returns
- bool
IsModuleLoaded()
Determines whether on-line marketing module is available.
public static bool IsModuleLoaded()
Returns
- bool
LogActivitiesBasedOnLegitimateInterest()
Determines whether activity logging based on legitimate interest is enabled.
public static bool LogActivitiesBasedOnLegitimateInterest()
Returns
- bool
OnlineMarketingEnabled()
Determines whether on-line marketing module is activated.
public static bool OnlineMarketingEnabled()
Returns
- bool