Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81589920
PhabricatorDashboardPanelHasDashboardEdgeType.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, Sep 6, 22:14
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Sep 8, 22:14 (2 d)
Engine
blob
Format
Raw Data
Handle
20598399
Attached To
rPH Phabricator
PhabricatorDashboardPanelHasDashboardEdgeType.php
View Options
<?php
final
class
PhabricatorDashboardPanelHasDashboardEdgeType
extends
PhabricatorEdgeType
{
const
EDGECONST
=
46
;
public
function
getInverseEdgeConstant
()
{
return
PhabricatorDashboardDashboardHasPanelEdgeType
::
EDGECONST
;
}
public
function
shouldWriteInverseTransactions
()
{
return
true
;
}
public
function
getTransactionAddString
(
$actor
,
$add_count
,
$add_edges
)
{
return
pht
(
'%s added %s dashboard(s): %s.'
,
$actor
,
$add_count
,
$add_edges
);
}
public
function
getTransactionRemoveString
(
$actor
,
$rem_count
,
$rem_edges
)
{
return
pht
(
'%s removed %s dashboard(s): %s.'
,
$actor
,
$rem_count
,
$rem_edges
);
}
public
function
getTransactionEditString
(
$actor
,
$total_count
,
$add_count
,
$add_edges
,
$rem_count
,
$rem_edges
)
{
return
pht
(
'%s edited dashboard(s), added %s: %s; removed %s: %s.'
,
$actor
,
$add_count
,
$add_edges
,
$rem_count
,
$rem_edges
);
}
public
function
getFeedAddString
(
$actor
,
$object
,
$add_count
,
$add_edges
)
{
return
pht
(
'%s added %s dashboard(s) for %s: %s.'
,
$actor
,
$add_count
,
$object
,
$add_edges
);
}
public
function
getFeedRemoveString
(
$actor
,
$object
,
$rem_count
,
$rem_edges
)
{
return
pht
(
'%s removed %s dashboard(s) for %s: %s.'
,
$actor
,
$rem_count
,
$object
,
$rem_edges
);
}
public
function
getFeedEditString
(
$actor
,
$object
,
$total_count
,
$add_count
,
$add_edges
,
$rem_count
,
$rem_edges
)
{
return
pht
(
'%s edited dashboard(s) for %s, added %s: %s; removed %s: %s.'
,
$actor
,
$object
,
$add_count
,
$add_edges
,
$rem_count
,
$rem_edges
);
}
}
Event Timeline
Log In to Comment