Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64199995
PhabricatorProjectListController.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
Sat, May 25, 06:46
Size
917 B
Mime Type
text/x-php
Expires
Mon, May 27, 06:46 (2 d)
Engine
blob
Format
Raw Data
Handle
17866822
Attached To
rPH Phabricator
PhabricatorProjectListController.php
View Options
<?php
final
class
PhabricatorProjectListController
extends
PhabricatorProjectController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$query_key
=
$request
->
getURIData
(
'queryKey'
);
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$query_key
)
->
setSearchEngine
(
new
PhabricatorProjectSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
public
function
buildApplicationMenu
()
{
return
$this
->
buildSideNavView
(
true
)->
getMenu
();
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
id
(
new
PhabricatorProjectEditEngine
())
->
setViewer
(
$this
->
getViewer
())
->
addActionToCrumbs
(
$crumbs
);
return
$crumbs
;
}
}
Event Timeline
Log In to Comment