Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111355277
PhabricatorProjectController.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 1, 01:01
Size
547 B
Mime Type
text/x-php
Expires
Sat, May 3, 01:01 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25907142
Attached To
rPH Phabricator
PhabricatorProjectController.php
View Options
<?php
abstract
class
PhabricatorProjectController
extends
PhabricatorController
{
public
function
buildSideNavView
(
$for_app
=
false
)
{
$user
=
$this
->
getRequest
()->
getUser
();
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
if
(
$for_app
)
{
$nav
->
addFilter
(
'create'
,
pht
(
'Create Project'
));
}
id
(
new
PhabricatorProjectSearchEngine
())
->
setViewer
(
$user
)
->
addNavigationItems
(
$nav
->
getMenu
());
$nav
->
selectFilter
(
null
);
return
$nav
;
}
}
Event Timeline
Log In to Comment