Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91712887
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
Wed, Nov 13, 18:33
Size
813 B
Mime Type
text/x-php
Expires
Fri, Nov 15, 18:33 (2 d)
Engine
blob
Format
Raw Data
Handle
22312511
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