Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3493314
ManiphestTaskHasSubtaskRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
952 B
Referenced Files
None
Subscribers
None
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
id
(
new
ManiphestTaskRelationshipSource
(
)
)
->
setSelectedFilter
(
'open'
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Apr 17, 06:39 (2 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1202464
Default Alt Text
ManiphestTaskHasSubtaskRelationship.php (952 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment