Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100984906
PhrictionListController.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
Tue, Feb 4, 13:14
Size
612 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 13:14 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24070235
Attached To
rPH Phabricator
PhrictionListController.php
View Options
<?php
final
class
PhrictionListController
extends
PhrictionController
{
private
$queryKey
;
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
willProcessRequest
(
array
$data
)
{
$this
->
queryKey
=
idx
(
$data
,
'queryKey'
);
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$controller
=
id
(
new
PhabricatorApplicationSearchController
(
$request
))
->
setQueryKey
(
$this
->
queryKey
)
->
setSearchEngine
(
new
PhrictionSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment