Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90399745
ManiphestTaskHasParentRelationship.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 1, 08:21
Size
929 B
Mime Type
text/x-php
Expires
Sun, Nov 3, 08:21 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22067122
Attached To
rPH Phabricator
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
new
ManiphestTaskRelationshipSource
();
}
}
Event Timeline
Log In to Comment