Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93215156
DrydockRepositoryOperationListController.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
Wed, Nov 27, 02:12
Size
923 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 02:12 (2 d)
Engine
blob
Format
Raw Data
Handle
22597189
Attached To
rPH Phabricator
DrydockRepositoryOperationListController.php
View Options
<?php
final
class
DrydockRepositoryOperationListController
extends
DrydockController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$query_key
=
$request
->
getURIData
(
'queryKey'
);
$engine
=
new
DrydockRepositoryOperationSearchEngine
();
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$query_key
)
->
setSearchEngine
(
$engine
)
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
public
function
buildSideNavView
()
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$engine
=
id
(
new
DrydockRepositoryOperationSearchEngine
())
->
setViewer
(
$this
->
getViewer
());
$engine
->
addNavigationItems
(
$nav
->
getMenu
());
$nav
->
selectFilter
(
null
);
return
$nav
;
}
}
Event Timeline
Log In to Comment