Public Member Functions | |
getModel () | |
setModel ($model) | |
getDisplayName () | |
allowDuplicates () | |
setAllowDuplicates ($allowDuplicates) | |
allowSendingEmail () | |
canBeConfiguredByUser () | |
isCritical () | |
setCritical ($critical) | |
getType () | |
getUsers () | |
addUser (User $user) | |
isSuperAdministratorNotification () | |
getModuleClassNames () | |
getTooltipId () | |
getTooltipTitle () | |
getSubjectForEmailNotification () | |
getDefaultValue ($type) | |
Protected Member Functions | |
loadUsers () | |
Class to help the notifications module understand the logic for specific notifications it processes and creates.
Definition at line 41 of file NotificationRules.php.
getDisplayName | ( | ) |
Definition at line 100 of file NotificationRules.php.
allowDuplicates | ( | ) |
Definition at line 109 of file NotificationRules.php.
setAllowDuplicates | ( | $allowDuplicates | ) |
boolean | $allowDuplicates |
Definition at line 117 of file NotificationRules.php.
allowSendingEmail | ( | ) |
Definition at line 127 of file NotificationRules.php.
canBeConfiguredByUser | ( | ) |
Definition at line 136 of file NotificationRules.php.
isCritical | ( | ) |
Definition at line 146 of file NotificationRules.php.
setCritical | ( | $critical | ) |
Set the notification as being critical or not. This will override the default setting for this particular NotificationRules
boolean | $critical | TODO: To be removed, it's not used anymore |
Definition at line 157 of file NotificationRules.php.
getType | ( | ) |
The type of the NotificationRules
NotImplementedException |
Definition at line 168 of file NotificationRules.php.
getUsers | ( | ) |
Definition at line 176 of file NotificationRules.php.
addUser | ( | User | $user | ) |
Add a user to receive a notification.
User | $user |
Definition at line 190 of file NotificationRules.php.
|
protected |
Loads users to notify. Override in child class if needed.
Definition at line 202 of file NotificationRules.php.
isSuperAdministratorNotification | ( | ) |
If the notification can be enabled by super administrators only
Definition at line 210 of file NotificationRules.php.
getModuleClassNames | ( | ) |
Get module class names associated with the import rules.
NotImplementedException |
Definition at line 220 of file NotificationRules.php.
getTooltipId | ( | ) |
The Id for the tooltip used to show help about the notification
NotImplementedException |
Definition at line 229 of file NotificationRules.php.
getTooltipTitle | ( | ) |
The title for the tooltip describing help for the notification
NotImplementedException |
Definition at line 238 of file NotificationRules.php.
getSubjectForEmailNotification | ( | ) |
The subject to be used in the email notification
NotImplementedException |
Definition at line 247 of file NotificationRules.php.