Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96371137
PhabricatorEmailSelfActionsSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Dec 26, 01:38
Size
891 B
Mime Type
text/x-php
Expires
Sat, Dec 28, 01:38 (1 d, 11 h)
Engine
blob
Format
Raw Data
Handle
23174812
Attached To
rPH Phabricator
PhabricatorEmailSelfActionsSetting.php
View Options
<?php
final
class
PhabricatorEmailSelfActionsSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'self-mail'
;
const
VALUE_SEND_SELF
=
'0'
;
const
VALUE_NO_SELF
=
'1'
;
public
function
getSettingName
()
{
return
pht
(
'Self Actions'
);
}
public
function
getSettingPanelKey
()
{
return
PhabricatorEmailDeliverySettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
()
{
return
200
;
}
protected
function
getControlInstructions
()
{
return
pht
(
'If you disable **Self Actions**, Phabricator will not notify '
.
'you about actions you take.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_SEND_SELF
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_SEND_SELF
=>
pht
(
'Enable Self Action Mail'
),
self
::
VALUE_NO_SELF
=>
pht
(
'Disable Self Action Mail'
),
);
}
}
Event Timeline
Log In to Comment