Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2892528
ManiphestTaskMergedIntoTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
950 B
Referenced Files
None
Subscribers
None
ManiphestTaskMergedIntoTransaction.php
View Options
<?php
final
class
ManiphestTaskMergedIntoTransaction
extends
ManiphestTaskTransactionType
{
const
TRANSACTIONTYPE
=
'mergedinto'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$this
->
updateStatus
(
$object
,
ManiphestTaskStatus
::
getDuplicateStatus
(
)
)
;
}
public
function
getActionName
(
)
{
return
pht
(
'Merged'
)
;
}
public
function
getTitle
(
)
{
$new
=
$this
->
getNewValue
(
)
;
return
pht
(
'%s closed this task as a duplicate of %s.'
,
$this
->
renderAuthor
(
)
,
$this
->
renderHandle
(
$new
)
)
;
}
public
function
getTitleForFeed
(
)
{
$new
=
$this
->
getNewValue
(
)
;
return
pht
(
'%s merged task %s into %s.'
,
$this
->
renderAuthor
(
)
,
$this
->
renderObject
(
)
,
$this
->
renderHandle
(
$new
)
)
;
}
public
function
getIcon
(
)
{
return
'fa-check'
;
}
public
function
getColor
(
)
{
return
'indigo'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 16:57 (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126706
Default Alt Text
ManiphestTaskMergedIntoTransaction.php (950 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment