Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F546929
ManiphestTaskHasRevisionRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
862 B
Referenced Files
None
Subscribers
None
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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:24 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120556
Default Alt Text
ManiphestTaskHasRevisionRelationship.php (862 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment