Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106057353
HeraldRuleListController.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, 22:33
Size
566 B
Mime Type
text/x-php
Expires
Sun, Mar 23, 22:33 (2 d)
Engine
blob
Format
Raw Data
Handle
25055449
Attached To
rPH Phabricator
HeraldRuleListController.php
View Options
<?php
final
class
HeraldRuleListController
extends
HeraldController
{
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
HeraldRuleSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment