Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116673311
PhabricatorPasteListController.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
Sun, Jun 8, 12:25
Size
632 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 12:25 (2 d)
Engine
blob
Format
Raw Data
Handle
26651630
Attached To
rPH Phabricator
PhabricatorPasteListController.php
View Options
<?php
final
class
PhabricatorPasteListController
extends
PhabricatorPasteController
{
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
PhabricatorPasteSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
}
Event Timeline
Log In to Comment