Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106108982
PholioMockListController.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 22, 12:53
Size
565 B
Mime Type
text/x-php
Expires
Mon, Mar 24, 12:53 (2 d)
Engine
blob
Format
Raw Data
Handle
25108469
Attached To
rPH Phabricator
PholioMockListController.php
View Options
<?php
final
class
PholioMockListController
extends
PholioController
{
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
PholioMockSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment