Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99337321
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
Thu, Jan 23, 15:05
Size
607 B
Mime Type
text/x-php
Expires
Sat, Jan 25, 15:05 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
23780770
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