Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/storage/PhabricatorUserPreferences.php
Show All 18 Lines | final class PhabricatorUserPreferences | ||||
const PREFERENCE_RE_PREFIX = 're-prefix'; | const PREFERENCE_RE_PREFIX = 're-prefix'; | ||||
const PREFERENCE_NO_SELF_MAIL = 'self-mail'; | const PREFERENCE_NO_SELF_MAIL = 'self-mail'; | ||||
const PREFERENCE_NO_MAIL = 'no-mail'; | const PREFERENCE_NO_MAIL = 'no-mail'; | ||||
const PREFERENCE_MAILTAGS = 'mailtags'; | const PREFERENCE_MAILTAGS = 'mailtags'; | ||||
const PREFERENCE_VARY_SUBJECT = 'vary-subject'; | const PREFERENCE_VARY_SUBJECT = 'vary-subject'; | ||||
const PREFERENCE_HTML_EMAILS = 'html-emails'; | const PREFERENCE_HTML_EMAILS = 'html-emails'; | ||||
const PREFERENCE_SEARCH_SCOPE = 'search-scope'; | |||||
const PREFERENCE_DIFFUSION_BLAME = 'diffusion-blame'; | const PREFERENCE_DIFFUSION_BLAME = 'diffusion-blame'; | ||||
const PREFERENCE_DIFFUSION_COLOR = 'diffusion-color'; | const PREFERENCE_DIFFUSION_COLOR = 'diffusion-color'; | ||||
const PREFERENCE_NAV_COLLAPSED = 'nav-collapsed'; | const PREFERENCE_NAV_COLLAPSED = 'nav-collapsed'; | ||||
const PREFERENCE_NAV_WIDTH = 'nav-width'; | const PREFERENCE_NAV_WIDTH = 'nav-width'; | ||||
const PREFERENCE_APP_TILES = 'app-tiles'; | const PREFERENCE_APP_TILES = 'app-tiles'; | ||||
const PREFERENCE_APP_PINNED = 'app-pinned'; | const PREFERENCE_APP_PINNED = 'app-pinned'; | ||||
const PREFERENCE_DIFF_UNIFIED = 'diff-unified'; | const PREFERENCE_DIFF_UNIFIED = 'diff-unified'; | ||||
const PREFERENCE_DIFF_FILETREE = 'diff-filetree'; | const PREFERENCE_DIFF_FILETREE = 'diff-filetree'; | ||||
const PREFERENCE_DIFF_GHOSTS = 'diff-ghosts'; | const PREFERENCE_DIFF_GHOSTS = 'diff-ghosts'; | ||||
const PREFERENCE_CONPH_NOTIFICATIONS = 'conph-notifications'; | const PREFERENCE_CONPH_NOTIFICATIONS = 'conph-notifications'; | ||||
const PREFERENCE_CONPHERENCE_COLUMN = 'conpherence-column'; | const PREFERENCE_CONPHERENCE_COLUMN = 'conpherence-column'; | ||||
const PREFERENCE_RESOURCE_POSTPROCESSOR = 'resource-postprocessor'; | const PREFERENCE_RESOURCE_POSTPROCESSOR = 'resource-postprocessor'; | ||||
const PREFERENCE_DESKTOP_NOTIFICATIONS = 'desktop-notifications'; | const PREFERENCE_DESKTOP_NOTIFICATIONS = 'desktop-notifications'; | ||||
const PREFERENCE_PROFILE_MENU_COLLAPSED = 'profile-menu.collapsed'; | const PREFERENCE_PROFILE_MENU_COLLAPSED = 'profile-menu.collapsed'; | ||||
const PREFERENCE_FAVORITE_POLICIES = 'policy.favorites'; | const PREFERENCE_FAVORITE_POLICIES = 'policy.favorites'; | ||||
const PREFERENCE_IGNORE_OFFSET = 'time.offset.ignore'; | |||||
// These are in an unusual order for historic reasons. | // These are in an unusual order for historic reasons. | ||||
const MAILTAG_PREFERENCE_NOTIFY = 0; | const MAILTAG_PREFERENCE_NOTIFY = 0; | ||||
const MAILTAG_PREFERENCE_EMAIL = 1; | const MAILTAG_PREFERENCE_EMAIL = 1; | ||||
const MAILTAG_PREFERENCE_IGNORE = 2; | const MAILTAG_PREFERENCE_IGNORE = 2; | ||||
protected $userPHID; | protected $userPHID; | ||||
protected $preferences = array(); | protected $preferences = array(); | ||||
▲ Show 20 Lines • Show All 201 Lines • Show Last 20 Lines |