Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77931559
ManiphestTaskHasRevisionRelationship.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, Aug 17, 07:25
Size
862 B
Mime Type
text/x-php
Expires
Mon, Aug 19, 07:25 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19948551
Attached To
rPH Phabricator
ManiphestTaskHasRevisionRelationship.php
View Options
<?php
final
class
ManiphestTaskHasRevisionRelationship
extends
ManiphestTaskRelationship
{
const
RELATIONSHIPKEY
=
'task.has-revision'
;
public
function
getEdgeConstant
()
{
return
ManiphestTaskHasRevisionEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Revisions'
);
}
protected
function
getActionIcon
()
{
return
'fa-cog'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
DifferentialRevision
);
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Related Revisions'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Revisions'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Related Revisions'
);
}
protected
function
newRelationshipSource
()
{
return
new
DifferentialRevisionRelationshipSource
();
}
}
Event Timeline
Log In to Comment