Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93854205
ManiphestTaskMergedFromTransaction.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
Mon, Dec 2, 01:03
Size
863 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 01:03 (2 d)
Engine
blob
Format
Raw Data
Handle
22714776
Attached To
rPH Phabricator
ManiphestTaskMergedFromTransaction.php
View Options
<?php
final
class
ManiphestTaskMergedFromTransaction
extends
ManiphestTaskTransactionType
{
const
TRANSACTIONTYPE
=
'mergedfrom'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
getActionName
()
{
return
pht
(
'Merged'
);
}
public
function
getTitle
()
{
$new
=
$this
->
getNewValue
();
return
pht
(
'%s merged %s task(s): %s.'
,
$this
->
renderAuthor
(),
phutil_count
(
$new
),
$this
->
renderHandleList
(
$new
));
}
public
function
getTitleForFeed
()
{
$new
=
$this
->
getNewValue
();
return
pht
(
'%s merged %s task(s) %s into %s.'
,
$this
->
renderAuthor
(),
phutil_count
(
$new
),
$this
->
renderHandleList
(
$new
),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-compress'
;
}
public
function
getColor
()
{
return
'orange'
;
}
}
Event Timeline
Log In to Comment