Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93574065
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 29, 20:47
Size
886 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 20:47 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22665593
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment