Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116704373
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
Sun, Jun 8, 16:24
Size
566 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 16:24 (2 d)
Engine
blob
Format
Raw Data
Handle
26650972
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