Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F114437395
PhabricatorDaemonLogListController.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
Sun, May 25, 21:29
Size
1014 B
Mime Type
text/x-php
Expires
Tue, May 27, 21:29 (2 d)
Engine
blob
Format
Raw Data
Handle
26390726
Attached To
rPH Phabricator
PhabricatorDaemonLogListController.php
View Options
<?php
final
class
PhabricatorDaemonLogListController
extends
PhabricatorDaemonController
{
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$viewer
=
$request
->
getUser
();
$pager
=
new
AphrontCursorPagerView
();
$pager
->
readFromRequest
(
$request
);
$logs
=
id
(
new
PhabricatorDaemonLogQuery
())
->
setViewer
(
$viewer
)
->
executeWithCursorPager
(
$pager
);
$daemon_table
=
new
PhabricatorDaemonLogListView
();
$daemon_table
->
setUser
(
$request
->
getUser
());
$daemon_table
->
setDaemonLogs
(
$logs
);
$crumbs
=
$this
->
buildApplicationCrumbs
();
$crumbs
->
addCrumb
(
id
(
new
PhabricatorCrumbView
())
->
setName
(
pht
(
'All Daemons'
)));
$nav
=
$this
->
buildSideNavView
();
$nav
->
selectFilter
(
'log'
);
$nav
->
setCrumbs
(
$crumbs
);
$nav
->
appendChild
(
$daemon_table
);
$nav
->
appendChild
(
$pager
);
return
$this
->
buildApplicationPage
(
$nav
,
array
(
'title'
=>
pht
(
'All Daemons'
),
'device'
=>
true
,
));
}
}
Event Timeline
Log In to Comment