Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106308600
PhabricatorWeekStartDaySetting.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
Mon, Mar 24, 17:29
Size
661 B
Mime Type
text/x-php
Expires
Wed, Mar 26, 17:29 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25165136
Attached To
rPH Phabricator
PhabricatorWeekStartDaySetting.php
View Options
<?php
final
class
PhabricatorWeekStartDaySetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'week-start-day'
;
public
function
getSettingName
()
{
return
pht
(
'Week Starts On'
);
}
protected
function
getControlInstructions
()
{
return
pht
(
'Choose which day a calendar week should begin on.'
);
}
public
function
getSettingDefaultValue
()
{
return
0
;
}
protected
function
getSelectOptions
()
{
return
array
(
0
=>
pht
(
'Sunday'
),
1
=>
pht
(
'Monday'
),
2
=>
pht
(
'Tuesday'
),
3
=>
pht
(
'Wednesday'
),
4
=>
pht
(
'Thursday'
),
5
=>
pht
(
'Friday'
),
6
=>
pht
(
'Saturday'
),
);
}
}
Event Timeline
Log In to Comment