3 final class PhabricatorActivitySettingsPanel
extends PhabricatorSettingsPanel
{
5 public function getPanelKey() {
9 public function getPanelName() {
10 return pht('Activity Logs');
13 public function getPanelMenuIcon() {
17 public function getPanelGroupKey() {
18 return PhabricatorSettingsLogsPanelGroup
::PANELGROUPKEY
;
21 public function processRequest(AphrontRequest
$request) {
22 $viewer = $request->getUser();
23 $user = $this->getUser();
25 $pager = id(new AphrontCursorPagerView())
26 ->readFromRequest($request);
28 $logs = id(new PhabricatorPeopleLogQuery())
30 ->withRelatedPHIDs(array($user->getPHID()))
31 ->executeWithCursorPager($pager);
33 $table = id(new PhabricatorUserLogView())
37 $panel = $this->newBox(pht('Account Activity Logs'), $table);
39 $pager_box = id(new PHUIBoxView())
40 ->addMargin(PHUI
::MARGIN_LARGE
)
41 ->appendChild($pager);
43 return array($panel, $pager_box);
46 public function isManagementPanel() {