Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F456557
PhabricatorDaemonLogEventViewController.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
PhabricatorDaemonLogEventViewController.php
View Options
<?php
final
class
PhabricatorDaemonLogEventViewController
extends
PhabricatorDaemonController
{
private
$id
;
public
function
willProcessRequest
(
array
$data
)
{
$this
->
id
=
$data
[
'id'
];
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$event
=
id
(
new
PhabricatorDaemonLogEvent
())->
load
(
$this
->
id
);
if
(!
$event
)
{
return
new
Aphront404Response
();
}
$event_view
=
id
(
new
PhabricatorDaemonLogEventsView
())
->
setEvents
(
array
(
$event
))
->
setUser
(
$request
->
getUser
())
->
setCombinedLog
(
true
)
->
setShowFullMessage
(
true
);
$log_panel
=
new
PHUIObjectBoxView
();
$log_panel
->
setHeaderText
(
pht
(
'Combined Log'
));
$log_panel
->
appendChild
(
$event_view
);
$daemon_id
=
$event
->
getLogID
();
$crumbs
=
$this
->
buildApplicationCrumbs
()
->
addTextCrumb
(
pht
(
'Daemon %s'
,
$daemon_id
),
$this
->
getApplicationURI
(
"log/{$daemon_id}/"
))
->
addTextCrumb
(
pht
(
'Event %s'
,
$event
->
getID
()));
return
$this
->
buildApplicationPage
(
array
(
$crumbs
,
$log_panel
,
),
array
(
'title'
=>
pht
(
'Combined Daemon Log'
),
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:29 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70437
Default Alt Text
PhabricatorDaemonLogEventViewController.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment