Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F539945
PhabricatorWeekStartDaySetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
824 B
Referenced Files
None
Subscribers
None
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'
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 9:22 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
110039
Default Alt Text
PhabricatorWeekStartDaySetting.php (824 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment