Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93078135
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
Tue, Nov 26, 01:16
Size
984 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 01:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22571181
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