Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894047
PhabricatorEmailVarySubjectsSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorEmailVarySubjectsSetting.php
View Options
<?php
final
class
PhabricatorEmailVarySubjectsSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'vary-subject'
;
const
VALUE_VARY_SUBJECTS
=
'vary'
;
const
VALUE_STATIC_SUBJECTS
=
'static'
;
public
function
getSettingName
(
)
{
return
pht
(
'Vary Subjects'
)
;
}
public
function
getSettingPanelKey
(
)
{
return
PhabricatorEmailFormatSettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
(
)
{
return
300
;
}
protected
function
getControlInstructions
(
)
{
return
pht
(
'With **Vary Subjects** enabled, most mail subject lines will include '
.
'a brief description of their content, like `[Closed]` for a '
.
'notification about someone closing a task.'
.
"\n\n"
.
"| Setting | Example Mail Subject\n"
.
"|----------------------|----------------\n"
.
"| Vary Subjects | "
.
"`[Maniphest] [Closed] T123: Example Task`\n"
.
"| Do Not Vary Subjects | "
.
"`[Maniphest] T123: Example Task`\n"
.
"\n"
.
'This can make mail more useful, but some clients have difficulty '
.
'threading these messages. Disabling this option may improve '
.
'threading at the cost of making subject lines less useful.'
)
;
}
public
function
getSettingDefaultValue
(
)
{
return
self
::
VALUE_VARY_SUBJECTS
;
}
protected
function
getSelectOptions
(
)
{
return
array
(
self
::
VALUE_VARY_SUBJECTS
=>
pht
(
'Enable Vary Subjects'
)
,
self
::
VALUE_STATIC_SUBJECTS
=>
pht
(
'Disable Vary Subjects'
)
,
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 19:18 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127891
Default Alt Text
PhabricatorEmailVarySubjectsSetting.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment