Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96371448
PhabricatorEditorMultipleSetting.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
Thu, Dec 26, 01:43
Size
921 B
Mime Type
text/x-php
Expires
Sat, Dec 28, 01:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23174389
Attached To
rPH Phabricator
PhabricatorEditorMultipleSetting.php
View Options
<?php
final
class
PhabricatorEditorMultipleSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'multiedit'
;
const
VALUE_SPACES
=
'spaces'
;
const
VALUE_SINGLE
=
'disable'
;
public
function
getSettingName
()
{
return
pht
(
'Edit Multiple Files'
);
}
public
function
getSettingPanelKey
()
{
return
PhabricatorDisplayPreferencesSettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
()
{
return
400
;
}
protected
function
getControlInstructions
()
{
return
pht
(
'Some editors support opening multiple files with a single URI. You '
.
'can specify the behavior of your editor here.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_SPACES
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_SPACES
=>
pht
(
'Supported, Separated by Spaces'
),
self
::
VALUE_SINGLE
=>
pht
(
'Not Supported'
),
);
}
}
Event Timeline
Log In to Comment