Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F546505
ManiphestTaskHasCommitRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
851 B
Referenced Files
None
Subscribers
None
ManiphestTaskHasCommitRelationship.php
View Options
<?php
final
class
ManiphestTaskHasCommitRelationship
extends
ManiphestTaskRelationship
{
const
RELATIONSHIPKEY
=
'task.has-commit'
;
public
function
getEdgeConstant
()
{
return
ManiphestTaskHasCommitEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Commits'
);
}
protected
function
getActionIcon
()
{
return
'fa-code'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
PhabricatorRepositoryCommit
);
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Related Commits'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Commits'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Related Commits'
);
}
protected
function
newRelationshipSource
()
{
return
new
DiffusionCommitRelationshipSource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:16 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120820
Default Alt Text
ManiphestTaskHasCommitRelationship.php (851 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment