Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92721772
DifferentialRevisionHasChildRelationship.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
Sat, Nov 23, 03:18
Size
984 B
Mime Type
text/x-php
Expires
Mon, Nov 25, 03:18 (2 d)
Engine
blob
Format
Raw Data
Handle
22485365
Attached To
rPH Phabricator
DifferentialRevisionHasChildRelationship.php
View Options
<?php
final
class
DifferentialRevisionHasChildRelationship
extends
DifferentialRevisionRelationship
{
const
RELATIONSHIPKEY
=
'revision.has-child'
;
public
function
getEdgeConstant
()
{
return
DifferentialRevisionDependedOnByRevisionEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Child Revisions'
);
}
protected
function
getActionIcon
()
{
return
'fa-chevron-circle-down'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
DifferentialRevision
);
}
public
function
shouldAppearInActionMenu
()
{
return
false
;
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Child Revisions'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Child Revisions'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Child Revisions'
);
}
protected
function
newRelationshipSource
()
{
return
new
DifferentialRevisionRelationshipSource
();
}
}
Event Timeline
Log In to Comment