Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F455664
PhabricatorEmailFormatSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
911 B
Referenced Files
None
Subscribers
None
PhabricatorEmailFormatSetting.php
View Options
<?php
final
class
PhabricatorEmailFormatSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'html-emails'
;
const
VALUE_HTML_EMAIL
=
'html'
;
const
VALUE_TEXT_EMAIL
=
'text'
;
public
function
getSettingName
()
{
return
pht
(
'HTML Email'
);
}
public
function
getSettingPanelKey
()
{
return
PhabricatorEmailFormatSettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
()
{
return
100
;
}
protected
function
getControlInstructions
()
{
return
pht
(
'You can opt to receive plain text email instead of HTML email. '
.
'Plain text email works better with some clients.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_HTML_EMAIL
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_HTML_EMAIL
=>
pht
(
'Send HTML Email'
),
self
::
VALUE_TEXT_EMAIL
=>
pht
(
'Send Plain Text Email'
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 7:10 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70219
Default Alt Text
PhabricatorEmailFormatSetting.php (911 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment