Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93865368
ManiphestTaskHasMockRelationship.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
Mon, Dec 2, 02:56
Size
823 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 02:56 (2 d)
Engine
blob
Format
Raw Data
Handle
22714206
Attached To
rPH Phabricator
ManiphestTaskHasMockRelationship.php
View Options
<?php
final
class
ManiphestTaskHasMockRelationship
extends
ManiphestTaskRelationship
{
const
RELATIONSHIPKEY
=
'task.has-mock'
;
public
function
getEdgeConstant
()
{
return
ManiphestTaskHasMockEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Mocks'
);
}
protected
function
getActionIcon
()
{
return
'fa-camera-retro'
;
}
public
function
canRelateObjects
(
$src
,
$dst
)
{
return
(
$dst
instanceof
PholioMock
);
}
public
function
getDialogTitleText
()
{
return
pht
(
'Edit Related Mocks'
);
}
public
function
getDialogHeaderText
()
{
return
pht
(
'Current Mocks'
);
}
public
function
getDialogButtonText
()
{
return
pht
(
'Save Related Mocks'
);
}
protected
function
newRelationshipSource
()
{
return
new
PholioMockRelationshipSource
();
}
}
Event Timeline
Log In to Comment