Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106044051
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
Fri, Mar 21, 19:58
Size
822 B
Mime Type
text/x-php
Expires
Sun, Mar 23, 19:58 (2 d)
Engine
blob
Format
Raw Data
Handle
25099224
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