Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102796140
PonderQuestionListController.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
Mon, Feb 24, 06:47
Size
573 B
Mime Type
text/x-php
Expires
Wed, Feb 26, 06:47 (2 d)
Engine
blob
Format
Raw Data
Handle
24426232
Attached To
rPH Phabricator
PonderQuestionListController.php
View Options
<?php
final
class
PonderQuestionListController
extends
PonderController
{
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
PonderQuestionSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment