Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104971450
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
Thu, Mar 13, 19:24
Size
602 B
Mime Type
text/x-php
Expires
Sat, Mar 15, 19:24 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24892240
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
->
addFilter
(
'/'
,
pht
(
'Configuration'
));
$nav
->
addFilter
(
'issue/'
,
pht
(
'Setup Issues'
));
return
$nav
;
}
public
function
buildApplicationMenu
()
{
return
$this
->
buildSideNavView
(
null
,
true
)->
getMenu
();
}
}
Event Timeline
Log In to Comment