Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

UserNotificationUtil Class Reference

Static Public Member Functions

static isEnabledByUserAndNotificationNameAndType (User $user, $name, $type)
static getNotificationSettingsByUser (User $user)
static resolveDefaultNotificationSettingsDefaultValuesByUser (User $user, &$defaultNotificationSettings)
static getAllNotificationSettingAttributes ()
static getNotificationSettingsDefaultValues ()
static resolveAndGetValue (User $user, $key, $returnBoolean=true)
static setValue (User $user, $value, $key, $saveBoolean=true)
static setEmailNotificationSettingsAllDisabledForUser ($user)
static getNotificationRulesTypesForCurrentUserByModule ()
static getConfigurationElementTypeByNotificationType ($type)
static getConfigurationAttributeByNotificationType ($type)
static getTooltipIdByAttribute ($attribute)
static getTooltipTitleByAttribute ($attribute)
static getSettingNameAndTypeBySuffixedConfigurationAttribute ($suffixedConfigurationAttribute)

Detailed Description

Definition at line 37 of file UserNotificationUtil.php.


Member Function Documentation

static setEmailNotificationSettingsAllDisabledForUser ( user  )  [static]

Set email notifications settings to be all disabled

Parameters:
User $user

Definition at line 134 of file UserNotificationUtil.php.

static getNotificationRulesTypesForCurrentUserByModule (  )  [static]

Based on the current user, return the NotificationRules types and their display labels. Only include notification rules that the user has a right to access its corresponding module.

Returns:
array of notification rules types and display labels.

Definition at line 158 of file UserNotificationUtil.php.

static getConfigurationElementTypeByNotificationType ( type  )  [static]

The element type to be used on the

See also:
UserNotificationConfigurationEditView
Parameters:
$type 
Returns:
string

Definition at line 213 of file UserNotificationUtil.php.

static getConfigurationAttributeByNotificationType ( type  )  [static]

The attribute used on the

See also:
UserNotificationConfigurationEditView
Parameters:
$type 
Returns:
string

Definition at line 224 of file UserNotificationUtil.php.

static getTooltipIdByAttribute ( attribute  )  [static]

The tooltip id used on

See also:
UserNotificationConfigurationEditView
Parameters:
$attribute 
Returns:
string

Definition at line 235 of file UserNotificationUtil.php.

static getTooltipTitleByAttribute ( attribute  )  [static]

The tooltip title used on

See also:
UserNotificationConfigurationEditView
Parameters:
$attribute 
Returns:
string

Definition at line 248 of file UserNotificationUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Feb 20 07:11:00 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8