Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93855307
ManiphestTaskHasSubtaskRelationship.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
Mon, Dec 2, 01:14
Size
914 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 01:14 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22714771
Attached To
rPH Phabricator
ManiphestTaskHasSubtaskRelationship.php
View Options
<?php
final
class
ManiphestTaskHasSubtaskRelationship
extends
ManiphestTaskRelationship
{
const
RELATIONSHIPKEY
=
'task.has-subtask'
;
public
function
getEdgeConstant
()
{
return
ManiphestTaskDependsOnTaskEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Subtasks'
);
}
protected
function
getActionIcon
()
{
return
'fa-chevron-circle-down'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
ManiphestTask
);
}
public
function
shouldAppearInActionMenu
()
{
return
false
;
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Subtasks'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Subtasks'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Subtasks'
);
}
protected
function
newRelationshipSource
()
{
return
new
ManiphestTaskRelationshipSource
();
}
}
Event Timeline
Log In to Comment