Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102089070
PhabricatorConfigController.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
Mon, Feb 17, 00:12
Size
1 KB
Mime Type
text/x-php
Expires
Wed, Feb 19, 00:12 (2 d)
Engine
blob
Format
Raw Data
Handle
24279329
Attached To
rPH Phabricator
PhabricatorConfigController.php
View Options
<?php
abstract
class
PhabricatorConfigController
extends
PhabricatorController
{
public
function
shouldRequireAdmin
()
{
return
true
;
}
public
function
buildSideNavView
(
$filter
=
null
,
$for_app
=
false
)
{
$user
=
$this
->
getRequest
()->
getUser
();
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$nav
->
addLabel
(
pht
(
'Configuration'
));
$nav
->
addFilter
(
'/'
,
pht
(
'Browse Settings'
));
$nav
->
addFilter
(
'all/'
,
pht
(
'All Settings'
));
$nav
->
addFilter
(
'history/'
,
pht
(
'Settings History'
));
$nav
->
addLabel
(
pht
(
'Setup'
));
$nav
->
addFilter
(
'issue/'
,
pht
(
'Setup Issues'
));
$nav
->
addLabel
(
pht
(
'Database'
));
$nav
->
addFilter
(
'database/'
,
pht
(
'Database Status'
));
$nav
->
addFilter
(
'dbissue/'
,
pht
(
'Database Issues'
));
$nav
->
addLabel
(
pht
(
'Welcome'
));
$nav
->
addFilter
(
'welcome/'
,
pht
(
'Welcome Screen'
));
return
$nav
;
}
public
function
buildApplicationMenu
()
{
return
$this
->
buildSideNavView
(
null
,
true
)->
getMenu
();
}
}
Event Timeline
Log In to Comment