Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91139005
PhabricatorPeopleLogsController.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
Fri, Nov 8, 07:30
Size
799 B
Mime Type
text/x-php
Expires
Sun, Nov 10, 07:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22202526
Attached To
rPH Phabricator
PhabricatorPeopleLogsController.php
View Options
<?php
final
class
PhabricatorPeopleLogsController
extends
PhabricatorPeopleController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$request
->
getURIData
(
'queryKey'
))
->
setSearchEngine
(
new
PhabricatorPeopleLogSearchEngine
())
->
setNavigation
(
$this
->
buildSideNavView
());
return
$this
->
delegateToController
(
$controller
);
}
public
function
buildSideNavView
(
$for_app
=
false
)
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$viewer
=
$this
->
getRequest
()->
getUser
();
id
(
new
PhabricatorPeopleLogSearchEngine
())
->
setViewer
(
$viewer
)
->
addNavigationItems
(
$nav
->
getMenu
());
return
$nav
;
}
}
Event Timeline
Log In to Comment