Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F568192
DifferentialRevisionHasTaskRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
848 B
Referenced Files
None
Subscribers
None
DifferentialRevisionHasTaskRelationship.php
View Options
<?php
final
class
DifferentialRevisionHasTaskRelationship
extends
DifferentialRevisionRelationship
{
const
RELATIONSHIPKEY
=
'revision.has-task'
;
public
function
getEdgeConstant
()
{
return
DifferentialRevisionHasTaskEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Tasks'
);
}
protected
function
getActionIcon
()
{
return
'fa-anchor'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
ManiphestTask
);
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Related Tasks'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Tasks'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Related Tasks'
);
}
protected
function
newRelationshipSource
()
{
return
new
ManiphestTaskRelationshipSource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 1:17 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
97922
Default Alt Text
DifferentialRevisionHasTaskRelationship.php (848 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment