Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78354446
PhabricatorMetaMTAMailListController.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
Tue, Aug 20, 01:03
Size
813 B
Mime Type
text/x-php
Expires
Thu, Aug 22, 01:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20032220
Attached To
rPH Phabricator
PhabricatorMetaMTAMailListController.php
View Options
<?php
final
class
PhabricatorMetaMTAMailListController
extends
PhabricatorMetaMTAController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$request
->
getURIData
(
'queryKey'
))
->
setSearchEngine
(
new
PhabricatorMetaMTAMailSearchEngine
())
->
setNavigation
(
$this
->
buildSideNav
());
return
$this
->
delegateToController
(
$controller
);
}
public
function
buildSideNav
()
{
$user
=
$this
->
getRequest
()->
getUser
();
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
id
(
new
PhabricatorMetaMTAMailSearchEngine
())
->
setViewer
(
$user
)
->
addNavigationItems
(
$nav
->
getMenu
());
$nav
->
selectFilter
(
null
);
return
$nav
;
}
}
Event Timeline
Log In to Comment