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