Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92778665
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
Sat, Nov 23, 15:51
Size
923 B
Mime Type
text/x-php
Expires
Mon, Nov 25, 15:51 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22504060
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