Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F36276491
PhabricatorPeopleLogsController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
886 B
Subscribers
None
PhabricatorPeopleLogsController.php
View Options
<?php
final
class
PhabricatorPeopleLogsController
extends
PhabricatorPeopleController
{
private
$queryKey
;
public
function
willProcessRequest
(
array
$data
)
{
$this
->
queryKey
=
idx
(
$data
,
'queryKey'
);
}
public
function
processRequest
()
{
$controller
=
id
(
new
PhabricatorApplicationSearchController
())
->
setQueryKey
(
$this
->
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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Feb 22, 6:45 PM (1 d, 18 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6a/c1/23199d0f279b761e6cdcbe370cdf
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment