Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91862390
ConpherenceSettings.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
Fri, Nov 15, 06:16
Size
474 B
Mime Type
text/x-php
Expires
Sun, Nov 17, 06:16 (2 d)
Engine
blob
Format
Raw Data
Handle
22337463
Attached To
rPH Phabricator
ConpherenceSettings.php
View Options
<?php
final
class
ConpherenceSettings
extends
ConpherenceConstants
{
const
EMAIL_ALWAYS
=
0
;
const
NOTIFICATIONS_ONLY
=
1
;
public
static
function
getHumanString
(
$constant
)
{
$string
=
pht
(
'Unknown setting.'
);
switch
(
$constant
)
{
case
self
::
EMAIL_ALWAYS
:
$string
=
pht
(
'Email me every update.'
);
break
;
case
self
::
NOTIFICATIONS_ONLY
:
$string
=
pht
(
'Notifications only.'
);
break
;
}
return
$string
;
}
}
Event Timeline
Log In to Comment