Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116714328
PhabricatorConpherenceNotificationsSetting.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
Sun, Jun 8, 18:54
Size
746 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 18:54 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26651089
Attached To
rPH Phabricator
PhabricatorConpherenceNotificationsSetting.php
View Options
<?php
final
class
PhabricatorConpherenceNotificationsSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'conph-notifications'
;
const
VALUE_CONPHERENCE_EMAIL
=
'0'
;
const
VALUE_CONPHERENCE_NOTIFY
=
'1'
;
public
function
getSettingName
()
{
return
pht
(
'Conpherence Notifications'
);
}
protected
function
getControlInstructions
()
{
return
pht
(
'Choose the default notification behavior for Conpherence rooms.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_CONPHERENCE_EMAIL
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_CONPHERENCE_EMAIL
=>
pht
(
'Send Email'
),
self
::
VALUE_CONPHERENCE_NOTIFY
=>
pht
(
'Send Notifications'
),
);
}
}
Event Timeline
Log In to Comment