Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101024474
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
Tue, Feb 4, 22:26
Size
812 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 22:26 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24078660
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'
);
}
}
Event Timeline
Log In to Comment