Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F118479629
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
Fri, Jun 20, 08:32
Size
566 B
Mime Type
text/x-php
Expires
Sun, Jun 22, 08:32 (1 d, 8 h)
Engine
blob
Format
Raw Data
Handle
26887701
Attached To
rPH Phabricator
PhabricatorApplicationsController.php
View Options
<?php
abstract
class
PhabricatorApplicationsController
extends
PhabricatorController
{
public
function
buildSideNavView
(
$for_app
=
false
)
{
$user
=
$this
->
getRequest
()->
getUser
();
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
id
(
new
PhabricatorAppSearchEngine
())
->
setViewer
(
$user
)
->
addNavigationItems
(
$nav
->
getMenu
());
$nav
->
selectFilter
(
null
);
return
$nav
;
}
public
function
buildApplicationMenu
()
{
return
$this
->
buildSideNavView
(
true
)->
getMenu
();
}
}
Event Timeline
Log In to Comment