Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F539077
DiffusionCommitTimelineEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
704 B
Referenced Files
None
Subscribers
None
DiffusionCommitTimelineEngine.php
View Options
<?php
final
class
DiffusionCommitTimelineEngine
extends
PhabricatorTimelineEngine
{
protected
function
newTimelineView
()
{
$xactions
=
$this
->
getTransactions
();
$path_ids
=
array
();
foreach
(
$xactions
as
$xaction
)
{
if
(
$xaction
->
hasComment
())
{
$path_id
=
$xaction
->
getComment
()->
getPathID
();
if
(
$path_id
)
{
$path_ids
[]
=
$path_id
;
}
}
}
$path_map
=
array
();
if
(
$path_ids
)
{
$path_map
=
id
(
new
DiffusionPathQuery
())
->
withPathIDs
(
$path_ids
)
->
execute
();
$path_map
=
ipull
(
$path_map
,
'path'
,
'id'
);
}
return
id
(
new
PhabricatorAuditTransactionView
())
->
setPathMap
(
$path_map
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 9:03 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120102
Default Alt Text
DiffusionCommitTimelineEngine.php (704 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment