Controls the preference for an individual notification type on the message preference page.
- Source:
- Copyright:
- 2016 Ryan Wyllie
- 2016 Ryan Wyllie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Methods
(inner) getEnabledPreferenceKey() → {string}
Get the unique key for the enabled preference.
Returns:
- Type
- string
(inner) getPreferenceKey() → {string}
Get the unique prefix key that identifies this user preference.
Returns:
- Type
- string
(inner) getProcessors() → {array}
Get the list of Processors available for this preference.
Returns:
- Type
- array
(inner) isLoading() → {Boolean}
Check if the preference is loading.
Returns:
- Type
- Boolean
(inner) save() → {object}
Persist the current state of the processors for this preference.
Returns:
jQuery promise
- Type
- object
(inner) startLoading()
Flag the preference as loading.
(inner) stopLoading()
Remove the loading flag for this preference.