Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F768117
DifferentialExtensionsRevisionListController.php
epriestley (Evan Priestley)
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
epriestley
Aug 31 2015, 8:09 PM
2015-08-31 20:09:21 (UTC+0)
Size
917 B
Referenced Files
None
Subscribers
None
DifferentialExtensionsRevisionListController.php
View Options
<?php
final
class
DifferentialExtensionsRevisionListController
extends
DifferentialController
{
private
$queryKey
;
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
willProcessRequest
(
array
$data
)
{
$this
->
queryKey
=
idx
(
$data
,
'queryKey'
);
}
public
function
processRequest
()
{
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$this
->
queryKey
)
->
setSearchEngine
(
new
DifferentialExtensionsRevisionSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setHref
(
'/differential/diff/create/'
)
->
setName
(
pht
(
'Create Diff'
))
->
setIcon
(
'fa-plus-square'
));
return
$crumbs
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/mq/ix/up56icfwbw6xjbua
Default Alt Text
DifferentialExtensionsRevisionListController.php (917 B)
Attached To
Mode
T9263: Provide ability to query for all revisions currently blocked by a specific project reviewer
Attached
Detach File
Event Timeline
Log In to Comment