Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/storage/PhabricatorUserPreferences.php
| <?php | <?php | ||||
| final class PhabricatorUserPreferences | final class PhabricatorUserPreferences | ||||
| extends PhabricatorUserDAO | extends PhabricatorUserDAO | ||||
| implements | implements | ||||
| PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
| PhabricatorDestructibleInterface, | PhabricatorDestructibleInterface, | ||||
| PhabricatorApplicationTransactionInterface { | PhabricatorApplicationTransactionInterface { | ||||
| const PREFERENCE_RE_PREFIX = 're-prefix'; | |||||
| const PREFERENCE_NO_SELF_MAIL = 'self-mail'; | |||||
| const PREFERENCE_NO_MAIL = 'no-mail'; | |||||
| const PREFERENCE_MAILTAGS = 'mailtags'; | |||||
| const PREFERENCE_VARY_SUBJECT = 'vary-subject'; | |||||
| const PREFERENCE_HTML_EMAILS = 'html-emails'; | |||||
| // These are in an unusual order for historic reasons. | |||||
| const MAILTAG_PREFERENCE_NOTIFY = 0; | |||||
| const MAILTAG_PREFERENCE_EMAIL = 1; | |||||
| const MAILTAG_PREFERENCE_IGNORE = 2; | |||||
| protected $userPHID; | protected $userPHID; | ||||
| protected $preferences = array(); | protected $preferences = array(); | ||||
| private $user = self::ATTACHABLE; | private $user = self::ATTACHABLE; | ||||
| protected function getConfiguration() { | protected function getConfiguration() { | ||||
| return array( | return array( | ||||
| self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
| ▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines | |||||