Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72553788
DifferentialRevisionListController.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
Mon, Jul 15, 18:11
Size
822 B
Mime Type
text/x-php
Expires
Wed, Jul 17, 18:11 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
19069587
Attached To
rPH Phabricator
DifferentialRevisionListController.php
View Options
<?php
final
class
DifferentialRevisionListController
extends
DifferentialController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$request
->
getURIData
(
'queryKey'
))
->
setSearchEngine
(
new
DifferentialRevisionSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setHref
(
$this
->
getApplicationURI
(
'/diff/create/'
))
->
setName
(
pht
(
'Create Diff'
))
->
setIcon
(
'fa-plus-square'
));
return
$crumbs
;
}
}
Event Timeline
Log In to Comment