Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93513271
DiffusionCommitHasRevisionRelationship.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 29, 08:58
Size
870 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 08:58 (2 d)
Engine
blob
Format
Raw Data
Handle
22657738
Attached To
rPH Phabricator
DiffusionCommitHasRevisionRelationship.php
View Options
<?php
final
class
DiffusionCommitHasRevisionRelationship
extends
DiffusionCommitRelationship
{
const
RELATIONSHIPKEY
=
'commit.has-revision'
;
public
function
getEdgeConstant
()
{
return
DiffusionCommitHasRevisionEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Revisions'
);
}
protected
function
getActionIcon
()
{
return
'fa-cog'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
DifferentialRevision
);
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Related Revisions'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Revisions'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Related Revisions'
);
}
protected
function
newRelationshipSource
()
{
return
new
DifferentialRevisionRelationshipSource
();
}
}
Event Timeline
Log In to Comment