Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116644744
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
Sun, Jun 8, 04:53
Size
591 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 04:53 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26638993
Attached To
rPH Phabricator
DifferentialRevisionListController.php
View Options
<?php
final
class
DifferentialRevisionListController
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
DifferentialRevisionSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment