Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F559462
DifferentialRevisionHasChildRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
984 B
Referenced Files
None
Subscribers
None
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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 10:28 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120362
Default Alt Text
DifferentialRevisionHasChildRelationship.php (984 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment