Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93587431
DiffusionCommitHasTaskRelationship.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
Fri, Nov 29, 23:22
Size
831 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 23:22 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22671159
Attached To
rPH Phabricator
DiffusionCommitHasTaskRelationship.php
View Options
<?php
final
class
DiffusionCommitHasTaskRelationship
extends
DiffusionCommitRelationship
{
const
RELATIONSHIPKEY
=
'commit.has-task'
;
public
function
getEdgeConstant
()
{
return
DiffusionCommitHasTaskEdgeType
::
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
();
}
}
Event Timeline
Log In to Comment