Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F451602
PhabricatorActivitySettingsPanel.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorActivitySettingsPanel.php
View Options
<?php
final
class
PhabricatorActivitySettingsPanel
extends
PhabricatorSettingsPanel
{
public
function
getPanelKey
()
{
return
'activity'
;
}
public
function
getPanelName
()
{
return
pht
(
'Activity Logs'
);
}
public
function
getPanelGroupKey
()
{
return
PhabricatorSettingsLogsPanelGroup
::
PANELGROUPKEY
;
}
public
function
processRequest
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getUser
();
$user
=
$this
->
getUser
();
$pager
=
id
(
new
AphrontCursorPagerView
())
->
readFromRequest
(
$request
);
$logs
=
id
(
new
PhabricatorPeopleLogQuery
())
->
setViewer
(
$viewer
)
->
withRelatedPHIDs
(
array
(
$user
->
getPHID
()))
->
executeWithCursorPager
(
$pager
);
$table
=
id
(
new
PhabricatorUserLogView
())
->
setUser
(
$viewer
)
->
setLogs
(
$logs
);
$panel
=
$this
->
newBox
(
pht
(
'Account Activity Logs'
),
$table
);
$pager_box
=
id
(
new
PHUIBoxView
())
->
addMargin
(
PHUI
::
MARGIN_LARGE
)
->
appendChild
(
$pager
);
return
array
(
$panel
,
$pager_box
);
}
public
function
isManagementPanel
()
{
return
true
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 10:33 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
68317
Default Alt Text
PhabricatorActivitySettingsPanel.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment