Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93585146
ManiphestTaskEdgeTransaction.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 29, 22:54
Size
607 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 22:54 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22667713
Attached To
rPH Phabricator
ManiphestTaskEdgeTransaction.php
View Options
<?php
final
class
ManiphestTaskEdgeTransaction
extends
ManiphestTaskTransactionType
{
const
TRANSACTIONTYPE
=
'edge'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
shouldHide
()
{
$commit_phid
=
$this
->
getMetadataValue
(
'commitPHID'
);
$edge_type
=
$this
->
getMetadataValue
(
'edge:type'
);
if
(
$edge_type
==
ManiphestTaskHasCommitEdgeType
::
EDGECONST
)
{
if
(
$commit_phid
)
{
return
true
;
}
}
}
public
function
getActionName
()
{
return
pht
(
'Attached'
);
}
public
function
getIcon
()
{
return
'fa-thumb-tack'
;
}
}
Event Timeline
Log In to Comment