Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108969933
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
Sat, Apr 19, 07:37
Size
607 B
Mime Type
text/x-php
Expires
Mon, Apr 21, 07:37 (2 d)
Engine
blob
Format
Raw Data
Handle
25623393
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