Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92653632
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
Fri, Nov 22, 10:23
Size
863 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 10:23 (2 d)
Engine
blob
Format
Raw Data
Handle
22478697
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