Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F452545
PhabricatorShowFiletreeSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1000 B
Referenced Files
None
Subscribers
None
PhabricatorShowFiletreeSetting.php
View Options
<?php
final
class
PhabricatorShowFiletreeSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'diff-filetree'
;
const
VALUE_DISABLE_FILETREE
=
0
;
const
VALUE_ENABLE_FILETREE
=
1
;
public
function
getSettingName
()
{
return
pht
(
'Show Filetree'
);
}
protected
function
getSettingOrder
()
{
return
300
;
}
public
function
getSettingPanelKey
()
{
return
PhabricatorDiffPreferencesSettingsPanel
::
PANELKEY
;
}
protected
function
getControlInstructions
()
{
return
pht
(
'When viewing a revision or commit, you can enable a sidebar showing '
.
'affected files. When this option is enabled, press {nav %s} to show '
.
'or hide the sidebar.'
,
'f'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_DISABLE_FILETREE
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_DISABLE_FILETREE
=>
pht
(
'Disable Filetree'
),
self
::
VALUE_ENABLE_FILETREE
=>
pht
(
'Enable Filetree'
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 12:43 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
68859
Default Alt Text
PhabricatorShowFiletreeSetting.php (1000 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment