Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96481954
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
Fri, Dec 27, 04:08
Size
824 B
Mime Type
text/x-php
Expires
Sun, Dec 29, 04:08 (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
23190924
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'
);
}
public
function
getSettingPanelKey
()
{
return
PhabricatorDateTimeSettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
()
{
return
400
;
}
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