Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75157574
PhabricatorNotificationListController.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, Jul 31, 17:06
Size
848 B
Mime Type
text/x-php
Expires
Fri, Aug 2, 17:06 (2 d)
Engine
blob
Format
Raw Data
Handle
19489091
Attached To
rPH Phabricator
PhabricatorNotificationListController.php
View Options
<?php
final
class
PhabricatorNotificationListController
extends
PhabricatorNotificationController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$querykey
=
$request
->
getURIData
(
'queryKey'
);
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$querykey
)
->
setSearchEngine
(
new
PhabricatorNotificationSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
public
function
buildSideNavView
()
{
$viewer
=
$this
->
getViewer
();
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
id
(
new
PhabricatorNotificationSearchEngine
())
->
setViewer
(
$viewer
)
->
addNavigationItems
(
$nav
->
getMenu
());
$nav
->
selectFilter
(
null
);
return
$nav
;
}
}
Event Timeline
Log In to Comment