Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorWeekStartDaySetting.php
| <?php | <?php | ||||
| final class PhabricatorWeekStartDaySetting | final class PhabricatorWeekStartDaySetting | ||||
| extends PhabricatorSelectSetting { | extends PhabricatorSelectSetting { | ||||
| const SETTINGKEY = 'week-start-day'; | const SETTINGKEY = 'week-start-day'; | ||||
| public function getSettingName() { | public function getSettingName() { | ||||
| return pht('Week Starts On'); | return pht('Week Starts On'); | ||||
| } | } | ||||
| public function getSettingPanelKey() { | |||||
| return PhabricatorDateTimeSettingsPanel::PANELKEY; | |||||
| } | |||||
| protected function getSettingOrder() { | |||||
| return 400; | |||||
| } | |||||
| protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
| return pht( | return pht( | ||||
| 'Choose which day a calendar week should begin on.'); | 'Choose which day a calendar week should begin on.'); | ||||
| } | } | ||||
| public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| Show All 14 Lines | |||||