Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106659287
PhrequentListController.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, Mar 29, 13:14
Size
566 B
Mime Type
text/x-php
Expires
Mon, Mar 31, 14:14 (2 d)
Engine
blob
Format
Raw Data
Handle
25246630
Attached To
rPH Phabricator
PhrequentListController.php
View Options
<?php
final
class
PhrequentListController
extends
PhrequentController
{
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
PhrequentSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment