Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96133655
DivinerAtomListController.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, Dec 23, 00:03
Size
809 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 00:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23129150
Attached To
rPH Phabricator
DivinerAtomListController.php
View Options
<?php
final
class
DivinerAtomListController
extends
DivinerController
implements
PhabricatorApplicationSearchResultsControllerInterface
{
private
$key
;
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
willProcessRequest
(
array
$data
)
{
$this
->
key
=
idx
(
$data
,
'key'
,
'all'
);
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$controller
=
id
(
new
PhabricatorApplicationSearchController
(
$request
))
->
setQueryKey
(
$this
->
key
)
->
setSearchEngine
(
new
DivinerAtomSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
public
function
renderResultsList
(
array
$symbols
,
PhabricatorSavedQuery
$query
)
{
return
$this
->
renderAtomList
(
$symbols
);
}
}
Event Timeline
Log In to Comment