Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F114976851
PhabricatorApplicationsController.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, May 29, 03:46
Size
606 B
Mime Type
text/x-php
Expires
Sat, May 31, 03:46 (2 d)
Engine
blob
Format
Raw Data
Handle
26440332
Attached To
rPH Phabricator
PhabricatorApplicationsController.php
View Options
<?php
abstract
class
PhabricatorApplicationsController
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
(
'Installed Applications'
));
$nav
->
addFilter
(
'/'
,
pht
(
'Applications'
));
return
$nav
;
}
public
function
buildApplicationMenu
()
{
return
$this
->
buildSideNavView
(
null
,
true
)->
getMenu
();
}
}
Event Timeline
Log In to Comment